-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 in installing webpack #4403
Comments
To fix your problem I would suggest running npm install again after switching back to Node 12 (using nvm or something similar: https://github.com/nvm-sh/nvm). |
Thank you! That part worked! However, I am still getting another error:
So far so good. But the following fails:
The following doesn't help:
|
Have you tried just |
@MzudemO, yes that produced the same error. |
Phoenix 1.6 will be out this week which removes node and webpack exactly to avoid these kinds of issues. In this case, it's the sass dependency causing issues, which can be fixed by removing sass from your assets/package.json, renaming assets/css/app.scss to /assets/css/app.css and updating the import in your assets/js/app.js to use css instead of scss. You can also wait for the new release :) Thanks! |
Sounds good! Looking forward to the new release! |
update package.json replacing node-sass with
|
2021-08-06T20_52_52_053Z-debug.log
Environment
Elixir 1.12.1 (compiled with Erlang/OTP 24)
v16.5.0
Expected behavior
Bug report
Other relevant information:
webpack version:
Node.js version:
Operating System:
Additional tools:
When trying to build webpack, it fails with the following output:
The text was updated successfully, but these errors were encountered: