mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-15 14:15:50 -06:00
[GH-ISSUE #231] create-proton-app fail with errors #157
Labels
No labels
bug
documentation
enhancement
libui issue
pull-request
question
wait for libui implementation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/proton-native#157
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chloeQ96 on GitHub (Sep 26, 2019).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/231
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:
makefailed with exit code: 2gyp
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 buildnpm 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 buildnpm
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.
`
@lclnrd commented on GitHub (Oct 4, 2019):
Same error here. I read there was issues concerning proton-native with Node 12 (related with nbind module). Any update on this ?
You might want to downgrade to Node 10 to make it work
Cheers!
EDIT : That worked for me. Fully Uninstalled Node.Js and reinstalled the 10.16 version.
@coreyphillips commented on GitHub (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-appresulted in a successful install and project build for me.@bndby commented on GitHub (Dec 6, 2019):
Same problen on Linux Mint, node 10 & 12, gtk 3.0 installed
@michaelzoidl commented on GitHub (Dec 11, 2019):
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.2it worked fine. Is there any chance this will get updated soon?@kusti8 commented on GitHub (Jan 19, 2020):
Proton Native V2 is now released! If the issue still occurs in the new update, please open a new issue.
@michaelzoidl commented on GitHub (Jan 20, 2020):
Hm, i just reinstalled
proton-nativeand created a test project withproton-native init XXXIt shows no error, but that it cant create a window:
I tried it with node
v12.13.1and proton-nativev0.0.7Did i understand something wrong that the node version 12.13.1 does not work or should it work with this version?
Do you need more informations? :)
Thanks for your contribution and time you invest in this project!
@kusti8 commented on GitHub (Jan 20, 2020):
On Mac, there is a bug for Node versions that are greater than and equal to 12.13.1. I suggest you downgrade using NVM. Also in the future please create a new issue.
@marsinearth commented on GitHub (Aug 26, 2020):
On the document website, it's written Proton Native does not work on Macs with Node versions >12.13.1 and >13.0.1.. It causes confusion so modifying it to
...with Node versions >= 12.13.1be much clearer.