create-proton-app fail with errors
See original GitHub issueI tried to install and create a new proton app, but there are errors occurred and fail to create
I did install create-proton-app globally, after I run create-proton-app my-app
, it results in
`gyp ERR! build error
gyp
ERR! stack Error: make
failed with exit code: 2
gyp
ERR! stack at ChildProcess.onExit (/Users/chloexu/.nvm/versions/node/v12.2.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp
ERR! stack at ChildProcess.emit (events.js:196:13)
gyp ERR! stack
at Process.ChildProcess._handle.onexit (internal/child_process.js:257:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command “/Users/chloexu/.nvm/versions/node/v12.2.0/bin/node” “/Users/chloexu/.nvm/versions/node/v12.2.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “configure” “build” gyp ERR! cwd /Users/chloexu/Desktop/my-app/node_modules/libui-node gyp ERR! node -v v12.2.0 gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE npm ERR! errno 1
npm ERR! libui-node@0.2.1 build: node-gyp configure build
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the libui-node@0.2.1 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in: npm ERR! /Users/chloexu/.npm/_logs/2019-09-26T19_02_00_892Z-debug.log
npm ERR! code ELIFECYCLE npm ERR! errno 1
npm ERR! libui-node@0.2.1 install: libui-download && autogypi && npm run build
npm
ERR! Exit status 1
npm ERR!
npm ERR!
Failed at the libui-node@0.2.1 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/chloexu/.npm/_logs/2019-09-26T19_02_01_291Z-debug.log
An error ocurred: npm install has failed. `
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:8 (2 by maintainers)
Top GitHub Comments
Same with node
v12.13.1 (LTS)
and i tried usingv10.16.3
. Both are failing with the above mentioned errors.With the
v8.16.2
it worked fine. Is there any chance this will get updated soon?@chloeXu96, using nvm I downgraded node to v8
nvm use 8
. Afterwards,npm install -g create-proton-app
&create-proton-app my-app
resulted in a successful install and project build for me.