knowthen / fpjs

Companion repo for Functional Programming for Beginners with Javascript
https://courses.knowthen.com/courses/functional-programming-for-beginners-with-javascript
96 stars 74 forks source link

nvm install issues #5

Open fossfool opened 5 years ago

fossfool commented 5 years ago

when I run nvm setup I'm getting errors:

node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west- 
2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.3 and node@10.13.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp) 
node-pre-gyp ERR! Tried to download(undefined): https://fsevents-binaries.s3-us-west- 
2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.3 and node@10.13.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp) 
SOLINK_MODULE(target) Release/.node
SOLINK_MODULE(target) Release/.node

I'm installing on an iMac Pro running Mojave. Any thoughts on how to correct? best, -james I've attached the log below setupIssues.txt

knowthen commented 5 years ago

Hi @fossfool, looks like some sort of issue with this url: https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz amazon is giving a 404

I found this comment that indicates there might be an issue with fsevents@1.1.3 on node version 10.

Can you try running the following command to install a newer version of fsevents?

npm install -D fsevents@1.2.4

Let me know if this helps get you past the issue.

pvdev commented 4 years ago

This did get rid of the error. It would be good to update the package.json devDependencies in all the projects with:

"fsevents": "^1.2.4",

Update: switching to these, without adding fsevents worked also:

"webpack": "^3.11.0",
"webpack-dev-server": "^2.11.5"

Thanks, Perry