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 on upgrading to v1-alpha #7291

Closed
vedant1811 opened this issue Jun 29, 2017 · 3 comments
Closed

Error on upgrading to v1-alpha #7291

vedant1811 opened this issue Jun 29, 2017 · 3 comments
Labels
support: question Community support but can be turned into an improvement

Comments

@vedant1811
Copy link

vedant1811 commented Jun 29, 2017

I just upgraded from material-ui 0.18.1 to 1.0.0-alpha.20 but its not working.

I get errors like:

Module not found: Error: Can't resolve 'react' in '/home/vedant/node_modules/material-ui/svg-icons/navigation'

There are a lot of similar Can't resolve errors in the js console for different modules in the material-ui directory.

I used yarn upgrade material-ui@next

My package.json:

....
 "material-ui": "next"
....

Versions

  • Material-UI: 1.0.0-alpha.20
  • React: 15.5.4
  • Browser: Chromium

Maybe I'm doing something wrong, but I followed the getting started guide to the letter and I couldn't understand how to fix it

@oliviertassinari
Copy link
Member

The Material svg icons set is now published under the material-ui-icons package. Here is the docs.

@oliviertassinari oliviertassinari added the support: question Community support but can be turned into an improvement label Jun 29, 2017
@vedant1811
Copy link
Author

Sorry my bad. I didn't realize there were a lot of breaking changes in the DSL from v0.18 to v1.0-alpha. I need to update my components that were based on v0.18.

@oliviertassinari
Copy link
Member

oliviertassinari commented Jun 29, 2017

@vedant1811 We have migration guide to write here #7195. That hasn't been done yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support: question Community support but can be turned into an improvement
Projects
None yet
Development

No branches or pull requests

2 participants