Skip to content

Instantly share code, notes, and snippets.

@LemmaEOF
Created November 14, 2017 20:28
Show Gist options
  • Save LemmaEOF/5445d8cbd45db735758fa8365b94d1de to your computer and use it in GitHub Desktop.
Save LemmaEOF/5445d8cbd45db735758fa8365b94d1de to your computer and use it in GitHub Desktop.
> serialport@4.0.7 install /private/var/folders/rx/gfrtqvnj0w5cp_lg5p_1wzqc0000gq/T/apm-install-dir-1171014-88971-1q85yll.c8qh19vn29/node_modules/arduino-atom/node_modules/serialport
> node-pre-gyp install --fallback-to-build
Failed to execute '/Applications/Atom.app/Contents/Resources/app/apm/bin/node /Applications/Atom.app/Contents/Resources/app/apm/bin/../node_modules/.bin/node-gyp configure --fallback-to-build --module=/private/var/folders/rx/gfrtqvnj0w5cp_lg5p_1wzqc0000gq/T/apm-install-dir-1171014-88971-1q85yll.c8qh19vn29/node_modules/arduino-atom/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/private/var/folders/rx/gfrtqvnj0w5cp_lg5p_1wzqc0000gq/T/apm-install-dir-1171014-88971-1q85yll.c8qh19vn29/node_modules/arduino-atom/node_modules/serialport/build/Release' (1)
/private/var/folders/rx/gfrtqvnj0w5cp_lg5p_1wzqc0000gq/T/apm-install-dir-1171014-88971-1q85yll.c8qh19vn29
`-- (empty)
npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-electron-v1.6-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and electron@1.6.15 (electron-v1.6 ABI) (falling back to source compile with node-gyp)
xcrun: error: active developer path ("/Applications/Xcode-beta.app/Contents/Developer") does not exist
Use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools, or use `xcode-select --install` to install the standalone command line developer tools.
See `man xcode-select` for more details.
xcrun: error: active developer path ("/Applications/Xcode-beta.app/Contents/Developer") does not exist
Use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools, or use `xcode-select --install` to install the standalone command line developer tools.
See `man xcode-select` for more details.
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/lib/configure.js:305:16)
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.2.0
gyp ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/.bin/node-gyp" "configure" "--fallback-to-build" "--module=/private/var/folders/rx/gfrtqvnj0w5cp_lg5p_1wzqc0000gq/T/apm-install-dir-1171014-88971-1q85yll.c8qh19vn29/node_modules/arduino-atom/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/private/var/folders/rx/gfrtqvnj0w5cp_lg5p_1wzqc0000gq/T/apm-install-dir-1171014-88971-1q85yll.c8qh19vn29/node_modules/arduino-atom/node_modules/serialport/build/Release"
gyp ERR! cwd /private/var/folders/rx/gfrtqvnj0w5cp_lg5p_1wzqc0000gq/T/apm-install-dir-1171014-88971-1q85yll.c8qh19vn29/node_modules/arduino-atom/node_modules/serialport
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 '/Applications/Atom.app/Contents/Resources/app/apm/bin/node /Applications/Atom.app/Contents/Resources/app/apm/bin/../node_modules/.bin/node-gyp configure --fallback-to-build --module=/private/var/folders/rx/gfrtqvnj0w5cp_lg5p_1wzqc0000gq/T/apm-install-dir-1171014-88971-1q85yll.c8qh19vn29/node_modules/arduino-atom/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/private/var/folders/rx/gfrtqvnj0w5cp_lg5p_1wzqc0000gq/T/apm-install-dir-1171014-88971-1q85yll.c8qh19vn29/node_modules/arduino-atom/node_modules/serialport/build/Release' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/private/var/folders/rx/gfrtqvnj0w5cp_lg5p_1wzqc0000gq/T/apm-install-dir-1171014-88971-1q85yll.c8qh19vn29/node_modules/arduino-atom/node_modules/serialport/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.2.0
node-pre-gyp ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/private/var/folders/rx/gfrtqvnj0w5cp_lg5p_1wzqc0000gq/T/apm-install-dir-1171014-88971-1q85yll.c8qh19vn29/node_modules/arduino-atom/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /private/var/folders/rx/gfrtqvnj0w5cp_lg5p_1wzqc0000gq/T/apm-install-dir-1171014-88971-1q85yll.c8qh19vn29/node_modules/arduino-atom/node_modules/serialport
node-pre-gyp ERR! node -v v6.9.5
node-pre-gyp ERR! node-pre-gyp -v v0.6.32
node-pre-gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open '/private/var/folders/rx/gfrtqvnj0w5cp_lg5p_1wzqc0000gq/T/apm-install-dir-1171014-88971-1q85yll.c8qh19vn29/package.json'
npm WARN apm-install-dir-1171014-88971-1q85yll.c8qh19vn29 No description
npm WARN apm-install-dir-1171014-88971-1q85yll.c8qh19vn29 No repository field.
npm WARN apm-install-dir-1171014-88971-1q85yll.c8qh19vn29 No README data
npm WARN apm-install-dir-1171014-88971-1q85yll.c8qh19vn29 No license field.
npm ERR! Darwin 17.2.0
npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/meredith/.atom/.apm/.apmrc" "--userconfig" "/Users/meredith/.atom/.apmrc" "install" "/private/var/folders/rx/gfrtqvnj0w5cp_lg5p_1wzqc0000gq/T/d-1171014-88971-1ty77f.y37ng919k9/package.tgz" "--runtime=electron" "--target=1.6.15" "--arch=x64" "--global-style"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! serialport@4.0.7 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the serialport@4.0.7 install script 'node-pre-gyp install --fallback-to-build'.
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 serialport package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs serialport
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls serialport
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /private/var/folders/rx/gfrtqvnj0w5cp_lg5p_1wzqc0000gq/T/apm-install-dir-1171014-88971-1q85yll.c8qh19vn29/npm-debug.log
npm ERR! code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment