mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-15 14:15:50 -06:00
[GH-ISSUE #217] create-proton-app error libui-node@0.2.1 build: node-gyp configure build #148
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#148
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 @randdvorak on GitHub (Jul 15, 2019).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/217
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/usr/local/Cellar/node/12.6.0/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'run',
1 verbose cli 'build'
1 verbose cli ]
2 info using npm@6.9.0
3 info using node@v12.6.0
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle libui-node@0.2.1
prebuild: libui-node@0.2.1build: libui-node@0.2.16 info lifecycle libui-node@0.2.1
7 verbose lifecycle libui-node@0.2.1
build: unsafe-perm in lifecycle truebuild: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/rand/Developer/node_modules/libui-node/node_modules/.bin:/Users/rand/Developer/node_modules/.bin:/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/rand/Developer/node_modules/libui-node/node_modules/.bin:/Users/rand/Developer/node_modules/.bin:/Users/rand/narwhal/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:8 verbose lifecycle libui-node@0.2.1
/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/opt/local/bin:/opt/local/sbinbuild: CWD: /Users/rand/Developer/node_modules/libui-node9 verbose lifecycle libui-node@0.2.1
10 silly lifecycle libui-node@0.2.1
build: Args: [ '-c', 'node-gyp configure build' ]build: Returned: code: 1 signal: null11 silly lifecycle libui-node@0.2.1
12 info lifecycle libui-node@0.2.1~build: Failed to exec build script
13 verbose stack Error: libui-node@0.2.1 build:
node-gyp configure build13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:203:13)
13 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:203:13)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
14 verbose pkgid libui-node@0.2.1
15 verbose cwd /Users/rand/Developer/node_modules/libui-node
16 verbose Darwin 18.6.0
17 verbose argv "/usr/local/Cellar/node/12.6.0/bin/node" "/usr/local/bin/npm" "run" "build"
18 verbose node v12.6.0
19 verbose npm v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error libui-node@0.2.1 build:
node-gyp configure build22 error Exit status 1
23 error Failed at the libui-node@0.2.1 build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
@randdvorak commented on GitHub (Jul 15, 2019):
create-proton-app fails with node 12. Downgrading to node 10 allows libui-node to build. However, proton-create-app still fails. rm'ing node_modules and running npm install in the project directory and then it works. FYI.
@goranmoomin commented on GitHub (Jul 15, 2019):
@randdvorak Would you kindly wrap the stack trace into a codeblock?
Sent with GitHawk
@immutable-pro commented on GitHub (Aug 1, 2019):
This is a full log of 'create-proton-app my-app' on Linux using Node v12.3.1.
out.log
@kusti8 commented on GitHub (Aug 2, 2019):
libui-node has problems with node v12, https://github.com/parro-it/libui-node/issues/134 which seems to be a general problem with nbind: https://github.com/charto/nbind/issues/133
@quaos commented on GitHub (Sep 23, 2019):
Also got this with node 10.15.3 in Windows:
@dyllan-to-you commented on GitHub (Oct 24, 2019):
@quaos Your error looks like you're trying to use Python3.7 when only python2.7 is supported
@Reidond commented on GitHub (Nov 20, 2019):
Using node 10.17 solved a problem
@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.