Attempted import error: 'getDynamicStyles' is not exported from 'jss'
See original GitHub issue- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
My CI server just failed with the following error:
20:33:20.621
Failed to compile.
20:33:20.621
./node_modules/@material-ui/styles/esm/makeStyles/makeStyles.js
20:33:20.621
Attempted import error: 'getDynamicStyles' is not exported from 'jss'.
20:33:20.621
> Build error occurred
20:33:20.622
Error: > Build failed because of webpack errors
20:33:20.622
at build (/zeit/60ebfceb/node_modules/next/dist/build/index.js:10:900)
20:33:20.665
error Command failed with exit code 1.
Using:
"@material-ui/core": "^4.3.3",
"@material-ui/icons": "^4.2.1",
"@material-ui/styles": "^4.3.3",
Expected Behavior 🤔
Such error shouldn’t happen, it works fine on my computer which is using 4.9.0
for @material-ui/styles
.
Steps to Reproduce 🕹
Unknown
Context 🔦
I believe a recent version has been released recently, it was working fine 2h ago, and I haven’t done any change material-ui related.
Your Environment 🌎
Tech | Version |
---|---|
Material-UI @core | 4.9.5 |
React | 16.12.0 |
Browser | Chrome latest |
TypeScript | 3.7.5 |
etc. |
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:5
Top Results From Across the Web
Attempted import error: 'getDynamicStyles' is not exported ...
The issue is present in the latest release. I have searched the issues of this repository and believe that this is not a...
Read more >'makeStyles' is not exported from '@material-ui/core/styles ...
I recently encountered this problem. This problem occurs when using the latest versions of Material UI. To solve you have to import makeStyles...
Read more >attempted import error is not exported from - You.com
On upgrading the version of Ant Design to v4, one of the major breaking changes have been that Icon is no longer exported...
Read more >cssinjs/Lobby - Gitter
I use JSS on separate file and I got this error TypeError: Object(. ... I'm trying to create a new function which I...
Read more >MDBreact All imports are failing - Attempted import error: i
Just getting a bunch of errors of "Attempted import error: XXXX was not exported from mdbreact. It started off with the Modal component,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fix has been applied (commit has been reverted by author, and released). Closing.
https://github.com/cssinjs/jss/pull/1303
I believe it is related to this: https://github.com/cssinjs/jss/pull/1303