-
Notifications
You must be signed in to change notification settings - Fork 311
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
npm install fails in /desktop #280
Open
cesare-montresor
wants to merge
1
commit into
decosoftware:master
Choose a base branch
from
cesare-montresor:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apparently there is a change of api from electro 1.3.0+, ref: electron/electron#4881 (comment) Error: CXX(target) Release/obj.target/profiler/src/profiler.o CXX(target) Release/obj.target/profiler/src/cpu_profiler.o CXX(target) Release/obj.target/profiler/src/cpu_profile.o CXX(target) Release/obj.target/profiler/src/cpu_profile_node.o CXX(target) Release/obj.target/profiler/src/heap_profiler.o ../src/heap_profiler.cc:35:18: warning: 'TryCatch' is deprecated [-Wdeprecated-declarations] TryCatch try_catch; ^ /Users/cesare/.electron-gyp/.node-gyp/iojs-1.4.3/deps/v8/include/v8.h:6932:40: note: 'TryCatch' has been explicitly marked deprecated here V8_DEPRECATED("Use isolate version", TryCatch()); ^ 1 warning generated. CXX(target) Release/obj.target/profiler/src/heap_snapshot.o ../src/heap_snapshot.cc:46:46: error: no member named 'GetHiddenValue' in 'v8::Object' info.GetReturnValue().Set(info.This()->GetHiddenValue(__root)); ~~~~~~~~~~~ ^ ../src/heap_snapshot.cc:50:20: error: no member named 'SetHiddenValue' in 'v8::Object' info.This()->SetHiddenValue(__root, _root); ~~~~~~~~~~~ ^ 2 errors generated. make: *** [Release/obj.target/profiler/src/heap_snapshot.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:194:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Darwin 16.4.0 gyp ERR! command "/usr/local/Cellar/node/7.7.1/bin/node" "/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/.bin/node-gyp" "rebuild" "--target=1.4.3" "--arch=x64" "--dist-url=https://atom.io/download/electron" "--build-from-source" "--module_name=profiler" "--module_path=/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/v8-profiler/build/profiler/v5.6.5/electron-v1.4-darwin-x64" "--remote_path=./profiler/v5.6.5/" "--package_name=electron-v1.4-darwin-x64.tar.gz" "--host=https://node-inspector.s3.amazonaws.com/" gyp ERR! cwd /Users/cesare/Projects/electron/deco-ide/desktop/node_modules/v8-profiler gyp ERR! node -v v7.7.1 gyp ERR! node-gyp -v v3.5.0 gyp ERR! not ok Failed with exit code: 1 at SafeSubscriber.obs.subscribe.e [as _error] (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/spawn-rx/lib/index.js:311:43) at SafeSubscriber.__tryOrUnsub (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/rxjs/Subscriber.js:234:16) at SafeSubscriber.error (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/rxjs/Subscriber.js:195:26) at Subscriber._error (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/rxjs/Subscriber.js:128:26) at Subscriber.error (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/rxjs/Subscriber.js:102:18) at MapSubscriber.Subscriber._error (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/rxjs/Subscriber.js:128:26) at MapSubscriber.Subscriber.error (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/rxjs/Subscriber.js:102:18) at SafeSubscriber.pipesClosed.subscribe [as _next] (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/spawn-rx/lib/index.js:284:42) at SafeSubscriber.__tryOrUnsub (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/rxjs/Subscriber.js:234:16) at SafeSubscriber.next (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/rxjs/Subscriber.js:183:22) at Subscriber._next (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/rxjs/Subscriber.js:125:26) at Subscriber.next (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/rxjs/Subscriber.js:89:18) at ReduceSubscriber._complete (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/rxjs/operator/reduce.js:119:30) at ReduceSubscriber.Subscriber.complete (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/rxjs/Subscriber.js:114:18) at MergeAllSubscriber.notifyComplete (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/rxjs/operator/mergeAll.js:105:30) at InnerSubscriber._complete (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/rxjs/InnerSubscriber.js:30:21) [10:51:32] 'rebuild-native-modules' errored after 3.47 s [10:51:32] Error: Command failed: /Users/cesare/Projects/electron/deco-ide/desktop/node_modules/.bin/electron-rebuild --pre-gyp-fix --node-module-version 50 --which-module git-utils at checkExecSyncError (child_process.js:489:13) at execSync (child_process.js:529:13) at es (/Users/cesare/Projects/electron/deco-ide/desktop/gulpfile.babel.js:17:35) at /Users/cesare/Projects/electron/deco-ide/desktop/gulpfile.babel.js:89:5 at Array.forEach (native) at Gulp.<anonymous> (/Users/cesare/Projects/electron/deco-ide/desktop/gulpfile.babel.js:87:11) at module.exports (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/orchestrator/lib/runTask.js:34:7) at Gulp.Orchestrator._runTask (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/orchestrator/index.js:273:3) at Gulp.Orchestrator._runStep (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/orchestrator/index.js:214:10) at Gulp.Orchestrator.start (/Users/cesare/Projects/electron/deco-ide/desktop/node_modules/orchestrator/index.js:134:8) at /Users/cesare/Projects/electron/deco-ide/desktop/node_modules/gulp/bin/gulp.js:129:20 at _combinedTickCallback (internal/process/next_tick.js:73:7) at process._tickDomainCallback (internal/process/next_tick.js:128:9) npm WARN [email protected] requires a peer of webpack@1 || 2 || ^2.1.0-beta || ^2.2.0-rc but none was installed. npm WARN [email protected] No repository field. npm WARN [email protected] No license field. npm ERR! Darwin 16.4.0 npm ERR! argv "/usr/local/Cellar/node/7.7.1/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v7.7.1 npm ERR! npm v4.1.2 npm ERR! code ELIFECYCLE npm ERR! [email protected] postinstall: `gulp rebuild-native-modules` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] postinstall script 'gulp rebuild-native-modules'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the DecoIDE-Desktop package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! gulp rebuild-native-modules npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs DecoIDE-Desktop npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls DecoIDE-Desktop npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /Users/cesare/Projects/electron/deco-ide/desktop/npm-debug.log
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Apparently there is a change of API from electron 1.3.0+, ref: electron/electron#4881 (comment)
Error: