-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
JS Error: Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode #1121
Comments
It looks like you're trying to rebuild material-ui with webpack. You'll need to transpile the |
I have a working webpack config that uses JSX-loader, and it was fine until I updated Material UI from 0.9.0 to latest. I suppose this really may be a problem of my setup. |
Yes, babel is fantastic. It's well maintained and they even managed to get facebook to switch from maintaining their own tool! It also has some support for experimental ES7 features. |
@jkruder thanks, I switched to babel. It was a bit tricky, since not all examples tell you have to enable stage=0 for all to be working. |
Glad you were able to get it mostly working. You might find that some components don't work right without the clickawayable mixin. If you want I can try to provide some help with the errors you're seeing. |
Hello , Guys Am Using Babel And Still Got Same Errno Here What Should I dO should I try jsx loader ? |
SyntaxError: c:\Users\Mark Francis\package.json: Unexpected string |
* Add visual regression tests * Make docs run in backgorund on ci for tests * Fix percy command not found error * Add cypress verify on install * Restory cypress binary cache before running * Add additional yarn install * Change order of builds * Fix tsconfig.json error * Add more visual regression scenarios * Update config.yml * Disable random icons in percy * Make year to be 2019 in tests * Add more scenarios * Completely hide Ads in percy
Just updated to latest material-ui, and after I compile my app with WebPack, there is a JS error on a page:
Seems like problem is in file:
./~/material-ui/src/mixins/classable.js ***!
This line:
Please, advice, as I have a guess this is not what everyone else is experiencing?
The text was updated successfully, but these errors were encountered: