danielstern/redux-saga-cart

Unable to setup the project through the begin branch due to broken packages

Opened this issue · 4 comments

After run npm install command I got a warning in the command line:

> uws@0.14.5 install /var/www/development/redux-saga/redux-saga-cart/node_modules/uws
> node-gyp rebuild > build_log.txt 2>&1 || exit 0

npm WARN react-redux-starter@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.1 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 755 packages from 768 contributors and audited 32 packages in 14.881s
found 2 vulnerabilities (1 low, 1 high)
  run `npm audit fix` to fix them, or `npm audit` for details

withing package.json file
The command npm audit fix doesn't fix the problem due to some dependencies need to be fixed withing package.json file!

Got a question: why babel CLI isn't added as a required package? It may be loaded from node_modules directory for the npm start command. No everyone uses babel, and sometimes it may be used for a few projects, so maybe there's no need to have installed it globally!

Hello,

Excellent point. Not including Babel-CLI could have potentially been an oversight. How did you resolve this problem?

Hi @danielstern,

I am having same issue with installation, actually even if installation shows as failed, if we hit npm start it started working (y)

Great to hear that it started working

not working for me
even during npm install it just showing errors as below:

node-pre-gyp info it worked if it ends with ok
node-pre-gyp verb cli [ '/Users/simon/.nvm/versions/node/v10.16.0/bin/node',
node-pre-gyp verb cli   '/Users/simon/Dropbox/Apps/redux-saga/redux-saga-cart/node_modules/fsevents/node_modules/.bin/node-pre-gyp',
node-pre-gyp verb cli   'install',
node-pre-gyp verb cli   '--fallback-to-build' ]
node-pre-gyp info using node-pre-gyp@0.6.33
node-pre-gyp info using node@10.16.0 | darwin | x64
node-pre-gyp verb command install []
node-pre-gyp info check checked for "/Users/simon/Dropbox/Apps/redux-saga/redux-saga-cart/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" (not found)
node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v64-darwin-x64.tar.gz
node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.1 and node@10.16.0 (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http 404 status code downloading tarball https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v64-darwin-x64.tar.gz
node-pre-gyp verb command build [ 'rebuild' ]
node-pre-gyp ERR! Tried to download(undefined): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.1 and node@10.16.0 (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http Connection closed while downloading tarball file
node-pre-gyp verb command build [ 'rebuild' ]