-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node-gyp error while updating electron-builder #1652
Comments
|
yes. |
@develar i'm still trying to solve my issue. |
Could you please provide link to project? |
Ursa is outdated and doesn't work with latest openssl version — JoshKaufman/ursa#147 |
Consider to use ursa-purejs (JoshKaufman/ursa#140). |
I'm trying to update electron builder from version 17.10.0 to the 18 (required for electron updater 2)
i was trying in different ways with no luck
npm install --save-dev electron-builder@latest
or deleting the entire node_modules folder and reinstall via npm install
gets me these errors:
`
CXX(target) Release/obj.target/ursaNative/src/ursaNative.o
SOLINK_MODULE(target) Release/ursaNative.node
Rebuilding native production dependencies for darwin:x64
Error: /usr/local/Cellar/node/8.1.0_1/bin/node exited with code 1
Output:
CXX(target) Release/obj.target/ursaNative/src/ursaNative.o
Error output:
In file included from ../src/ursaNative.cc:3:
../src/ursaNative.h:13:10: fatal error: 'openssl/rsa.h' file not found
#include <openssl/rsa.h>
^
1 error generated.
make: *** [Release/obj.target/ursaNative/src/ursaNative.o] Error 1
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at emitTwo (events.js:125:13)
gyp ERR! stack at ChildProcess.emit (events.js:213:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:197:12)
gyp ERR! System Darwin 16.6.0
gyp ERR! command "/usr/local/Cellar/node/8.1.0_1/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/gaetano/Desktop/sqlite/node_modules/ursa
gyp ERR! node -v v8.1.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install:
node-gyp rebuild
npm ERR! Exit status 1
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/gaetano/.npm/_logs/2017-06-12T14_53_33_467Z-debug.log
From previous event:
at spawn (/Users/gaetano/Desktop/sqlite/node_modules/electron-builder-util/src/util.ts:103:3)
at /Users/gaetano/Desktop/sqlite/node_modules/electron-builder/src/yarn.ts:135:5
From previous event:
at rebuild (/Users/gaetano/Desktop/sqlite/node_modules/electron-builder/out/yarn.js:93:22)
at /Users/gaetano/Desktop/sqlite/node_modules/electron-builder/src/yarn.ts:16:11
at Generator.next ()
at runCallback (timers.js:800:20)
at tryOnImmediate (timers.js:762:5)
at processImmediate [as _immediateCallback] (timers.js:733:5)
From previous event:
at installOrRebuild (/Users/gaetano/Desktop/sqlite/node_modules/electron-builder/out/yarn.js:33:21)
at /Users/gaetano/Desktop/sqlite/node_modules/electron-builder/src/cli/install-app-deps.ts:32:2
at Generator.next ()
at runCallback (timers.js:800:20)
at tryOnImmediate (timers.js:762:5)
From previous event:
at main (/Users/gaetano/Desktop/sqlite/node_modules/electron-builder/out/cli/install-app-deps.js:36:21)
at Object. (/Users/gaetano/Desktop/sqlite/node_modules/electron-builder/out/cli/install-app-deps.js:72:1)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3
npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR! [email protected] postinstall:
install-app-deps
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.`
i've already installed ursa module and openssl
The text was updated successfully, but these errors were encountered: