-
Notifications
You must be signed in to change notification settings - Fork 258
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
When create with --sass, npm build does work, main.js is missing. #44
Comments
Thanks @Cybermage83 for reporting this. It's not an error but a case not well handled. Don't need to worry about it. I will remove the error msg in the next release. |
Just did true webpack build, got this error, which is probably why i am not generating the main.js [./index.js] ./index.js 1.75 kB {0} [built] ERROR in multi babel-polyfill ./styles/index.scss ./index Less loader?? |
There should be no less-loader in webpack-config.js. Could you check? |
there was one on scss rule, as a final fall back. I am on windows machine, I don;t know if it matters, but something is weird going for a sass build |
OKie it looks like i found the real culprit >> Right here... definitely need a fix here heh |
I did find an error in the generated sass project. In webapck-config.js there's a less-loader for scss files, it should be sass-loader: { I've not found why it just works on my machine, will investigate. |
cool, glad we got that figured out. Thanks. |
The bug was fixed in the latest 2.0.6 version. |
94% asset optimization
100%
mv: no such file or directory: .../build/static/main.js
Done: 9662.041ms
Couldn't parse bundle asset "...\build\static\main.js".
Analyzer will use module sizes from stats file.
Webpack Bundle Analyzer saved report to ...\build\static\report.html
Something is wrong when sass project is created..
Dev server and portal work just fine. @supnate Suggestions?
The text was updated successfully, but these errors were encountered: