React-starter-kit: sh: node-pre-gyp: command not found

Created on 20 Feb 2019  路  4Comments  路  Source: kriasoft/react-starter-kit

sh: node-pre-gyp: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mch/.npm/_logs/2019-02-19T23_35_27_909Z-debug.log

Most helpful comment

@reactdev208 @deidei https://github.com/mapbox/node-sqlite3/issues/1000
You can try npm install --unsafe-perm=true usually it helps

All 4 comments

Travis CI and I on MacOS cannot reproduce it. It seems that it's a problem of sqlite3 side, not React Starter Kit itself.

same problem here! node version problem? please have a check

@reactdev208 @deidei https://github.com/mapbox/node-sqlite3/issues/1000
You can try npm install --unsafe-perm=true usually it helps

Thank you @mmarkelov . Seems like it solved the issue? Please reopen it if didn't.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nguyenbathanh picture nguyenbathanh  路  4Comments

Jeff-Kook picture Jeff-Kook  路  3Comments

shawn-dsz picture shawn-dsz  路  4Comments

buildbreakdo picture buildbreakdo  路  3Comments

rochadt picture rochadt  路  3Comments