Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Some installed packages could not be loaded because they contain native modules that were compiled for an earlier version of Atom.Rebuild Packages #78

Open
izengliang opened this issue Apr 2, 2018 · 0 comments

Comments

@izengliang
Copy link

atom-live-server 2.2.0

node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.2/fse-v1.1.2-electron-v1.7-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (electron-v1.7 ABI) (falling back to source compile with node-gyp) 


Agreeing to the Xcode/iOS license requires admin privileges, please run “sudo xcodebuild -license” and then retry this command.

Agreeing to the Xcode/iOS license requires admin privileges, please run “sudo xcodebuild -license” and then retry this command.

gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 69
gyp ERR! stack     at ChildProcess.onExit (/Users/liangzeng/Documents/tools/Atom.app/Contents/Resources/app/apm/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:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 17.4.0
gyp ERR! command "/Users/liangzeng/Documents/tools/Atom.app/Contents/Resources/app/apm/bin/node" "/Users/liangzeng/Documents/tools/Atom.app/Contents/Resources/app/apm/node_modules/.bin/node-gyp" "build" "--fallback-to-build" "--module=/Users/liangzeng/.atom/packages/atom-live-server/node_modules/fsevents/lib/binding/Release/electron-v1.7-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/liangzeng/.atom/packages/atom-live-server/node_modules/fsevents/lib/binding/Release/electron-v1.7-darwin-x64"
gyp ERR! cwd /Users/liangzeng/.atom/packages/atom-live-server/node_modules/fsevents
gyp ERR! node -v v6.9.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/Users/liangzeng/Documents/tools/Atom.app/Contents/Resources/app/apm/bin/node /Users/liangzeng/Documents/tools/Atom.app/Contents/Resources/app/apm/bin/../node_modules/.bin/node-gyp build --fallback-to-build --module=/Users/liangzeng/.atom/packages/atom-live-server/node_modules/fsevents/lib/binding/Release/electron-v1.7-darwin-x64/fse.node --module_name=fse --module_path=/Users/liangzeng/.atom/packages/atom-live-server/node_modules/fsevents/lib/binding/Release/electron-v1.7-darwin-x64' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/liangzeng/.atom/packages/atom-live-server/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:877:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
node-pre-gyp ERR! System Darwin 17.4.0
node-pre-gyp ERR! command "/Users/liangzeng/Documents/tools/Atom.app/Contents/Resources/app/apm/bin/node" "/Users/liangzeng/.atom/packages/atom-live-server/node_modules/fsevents/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/liangzeng/.atom/packages/atom-live-server/node_modules/fsevents
node-pre-gyp ERR! node -v v6.9.5
node-pre-gyp ERR! node-pre-gyp -v v0.6.36
node-pre-gyp ERR! not ok 

npm ERR! Darwin 17.4.0
npm ERR! argv "/Users/liangzeng/Documents/tools/Atom.app/Contents/Resources/app/apm/bin/node" "/Users/liangzeng/Documents/tools/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/liangzeng/.atom/.apm/.apmrc" "--userconfig" "/Users/liangzeng/.atom/.apmrc" "rebuild" "--runtime=electron" "--target=1.7.11" "--arch=x64"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node install`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node install'.
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 fsevents package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs fsevents
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls fsevents
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/liangzeng/.atom/packages/atom-live-server/npm-debug.log

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant