-
Notifications
You must be signed in to change notification settings - Fork 552
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
After npm install
, npm run serve
fails
#80
Comments
I am having the exact same problem :( |
I have also hit the same issue. When you dig a little deeper there's a dependency mentioned, "natives", is screaming that it will stop working on future versions of node. I wasn't sure which version was stable when this demo project was created and then tried latests patches from 8, 10 and 12 series. It seems that 10 was the last one to work with this. Just run this project with node 10.17.0 and you'll be fine. Now I can go back to udacity videos to follow along. 👍 To check the deprecation notice try this: |
Thank you @israelfaria. Your solution has worked for me. |
Thanks a lot for that hint @israelfaria! Running it with node 10.17.0 was what made it work for me too. |
Does not it have another solution yet? I am using Node for some other projects and may rollback to Node 10 is a problem. |
Hi Another solution would be running it in docker if you don't want to locally install node 10. cd /path/to/wittr
docker run -it --rm -v $(pwd):/usr/local/src/app -p 8888:8888 -p 8889:8889 node:10 bash
# inside container / bash shell:
cd /usr/local/src/app
npm install
npm run serve |
if you wish to run the project with "node": "^10.17.0" WITHOUT rolling back you global node version you can add node as a dev-dependency to the package.json and then run npm install. then you will likely see an error which will instruct you to run npm rebuild node-sass simply run that command and then you should be able to run npm run serve and view the project. |
I'm unable to run this demo as part of the Offline Web Applications course on Udacity. After
npm install
,npm run serve
fails:I'm running this on macOS Mojave (v10.14.4).
The text was updated successfully, but these errors were encountered: