Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error at building docs #440

Closed
azazdeaz opened this issue Mar 17, 2015 · 8 comments
Closed

error at building docs #440

azazdeaz opened this issue Mar 17, 2015 · 8 comments
Labels
docs Improvements or additions to the documentation

Comments

@azazdeaz
Copy link
Contributor

Hi, i get an error when i'm trying to install the docs in the way as it is described in the docs readme:

[Compile Error] Cannot find module 'react-tap-event-plugin' from '/home/.../material-ui/docs/src/app'

What can i do wrong?

@jkruder
Copy link
Contributor

jkruder commented Mar 17, 2015

react-tap-event-plugin is a peer dep. Try installing react-tap-event-plugin.

@azazdeaz
Copy link
Contributor Author

I had tried to install it under the /docs module and it thrown other errors, but now i installed it under the root material-ui/ and it's working! :) Thanks!

@theunexpected1
Copy link

Having issues with this, cannot build docs, error is due to react-router
Uncaught TypeError: Cannot read property 'isActive' of undefined

@hai-cea
Copy link
Member

hai-cea commented Apr 21, 2015

@theunexpected1 Are you still having an issue with this?

@cangyan
Copy link

cangyan commented May 11, 2015

I had the same problem.
"Uncaught TypeError: Cannot read property 'isActive' of undefined."

npm install react-router
then
console log output : muiTheme component undefined.

@hai-cea
Copy link
Member

hai-cea commented May 11, 2015

@cangyan This likely because there are multiple versions of react in your project. See #608

@cangyan
Copy link

cangyan commented May 11, 2015

@hai-cea Thank you for answer.
I remove react from docs project.

npm uninstall react

It's OK now.

pomerantsev added a commit to pomerantsev/material-ui that referenced this issue May 18, 2015
… to use all ES6 features

Fixes mui#655, mui#606, mui#440, mui#392.

Goals of this PR:
- being able to use all ES6 features (with babel)
- adding JSHint and cleaning up most obvious mistakes in code
- making it so that browserify doesn't throw an error when components'
  code changes while watching files
- minor cleanup of the dependencies in package.json files
@mmrtnz
Copy link
Contributor

mmrtnz commented May 22, 2015

Fixed with #656

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

No branches or pull requests

8 participants