Material-ui: Module not found: Can't resolve 'jss'

Created on 8 Sep 2017  路  4Comments  路  Source: mui-org/material-ui

  • [x ] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior

I just upgraded from verstion 1.0.0-beta.3 to 1.0.0-beta.8 and now I'm getting "Module not found: can't resolve jss" error when running npm start. I can confirm that I have jss and react-jss installed.

./~/react-jss/lib/jss.js
Module not found: Can't resolve 'jss' in '/...project_path.../node_modules/react-jss/lib'

Your Environment

| Tech | Version |
|--------------|---------|
| Material-UI | 1.0.0-beta.8 |
| React | 15.6.1 |
| jss | 8.1.0 |
| react-jss | 7.1.0 |

Most helpful comment

@oliviertassinari I think I have solved this. I had to manually install all of the jss and jss-preset dependencies. Looks like updating material-ui from previous version by itself (npm update material-ui) somehow didn't automatically install the jss dependencies.

If I create a new project and install the latest material-ui beta version, all of the jss dependencies are properly installed.

All 4 comments

Sorry, this issue is isn't actionable on our end. We gonna need a reproduction repository. I'm closing for now.

@oliviertassinari Any suggestions where to start looking for this issue?

No clue :/.

@oliviertassinari I think I have solved this. I had to manually install all of the jss and jss-preset dependencies. Looks like updating material-ui from previous version by itself (npm update material-ui) somehow didn't automatically install the jss dependencies.

If I create a new project and install the latest material-ui beta version, all of the jss dependencies are properly installed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

celiao picture celiao  路  54Comments

cfilipov picture cfilipov  路  55Comments

damianobarbati picture damianobarbati  路  55Comments

NonameSLdev picture NonameSLdev  路  56Comments

nathanmarks picture nathanmarks  路  100Comments