question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

create-proton-app fail with errors

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
michaelzoidlcommented, Dec 11, 2019

Same with node v12.13.1 (LTS) and i tried using v10.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?

3reactions
coreyphillipscommented, Nov 2, 2019

@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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation error: CreateProcess failed... - IBM
This technote explains how to resolve a CreateProcess failed error that can occur durint the installation of IBM® Rational® Functional Tester (RFT).
Read more >
CreateProcess - Microsoft Q&A
Hi all, I've been struggling with the WinAPI CreateProcess for some time now. CreateProcess failed. Error code = 2. How to fix it?...
Read more >
Error CreateProcess failed, exe - HideMy.name
Error CreateProcess failed, exe It may occur ( screenshot ) if you first installed the program using one path, then uninstalled and installed...
Read more >
6 Easy Ways to Fix Createprocess Failed Code 740
Unable to execute file Createprocess failed code 740 – This message can appear if your antivirus interferes with your system. Simply disable ...
Read more >
CreateProcess() Error - c++ - Stack Overflow
It keeps throwing Error(2)-> The System cannot find the file specified . I don't know what's wrong. I also tried to use "Calc.exe"...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found