Created
May 3, 2024 15:22
-
-
Save bradrice/7953bb75bd5e802115d6cde94db4ba64 to your computer and use it in GitHub Desktop.
gyp error when installing the latest nativescript
This file contains hidden or 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
brice@Brads-MacBook-Pro classappnativescript % npm install -g nativescript@latest | |
npm WARN deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. | |
npm ERR! code 1 | |
npm ERR! path /Users/brice/.nvm/versions/node/v20.12.2/lib/node_modules/nativescript/node_modules/fsevents | |
npm ERR! command failed | |
npm ERR! command sh -c node-gyp rebuild | |
npm ERR! gyp info it worked if it ends with ok | |
npm ERR! gyp info using [email protected] | |
npm ERR! gyp info using [email protected] | darwin | arm64 | |
npm ERR! gyp info find Python using Python version 3.9.6 found at "/Applications/Xcode.app/Contents/Developer/usr/bin/python3" | |
npm ERR! gyp info spawn /Applications/Xcode.app/Contents/Developer/usr/bin/python3 | |
npm ERR! gyp info spawn args [ | |
npm ERR! gyp info spawn args '/Users/brice/.nvm/versions/node/v20.12.2/lib/node_modules/nativescript/node_modules/node-gyp/gyp/gyp_main.py', | |
npm ERR! gyp info spawn args 'binding.gyp', | |
npm ERR! gyp info spawn args '-f', | |
npm ERR! gyp info spawn args 'make', | |
npm ERR! gyp info spawn args '-I', | |
npm ERR! gyp info spawn args '/Users/brice/.nvm/versions/node/v20.12.2/lib/node_modules/nativescript/node_modules/fsevents/build/config.gypi', | |
npm ERR! gyp info spawn args '-I', | |
npm ERR! gyp info spawn args '/Users/brice/.nvm/versions/node/v20.12.2/lib/node_modules/nativescript/node_modules/node-gyp/addon.gypi', | |
npm ERR! gyp info spawn args '-I', | |
npm ERR! gyp info spawn args '/Users/brice/Library/Caches/node-gyp/20.12.2/include/node/common.gypi', | |
npm ERR! gyp info spawn args '-Dlibrary=shared_library', | |
npm ERR! gyp info spawn args '-Dvisibility=default', | |
npm ERR! gyp info spawn args '-Dnode_root_dir=/Users/brice/Library/Caches/node-gyp/20.12.2', | |
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/Users/brice/.nvm/versions/node/v20.12.2/lib/node_modules/nativescript/node_modules/node-gyp', | |
npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/brice/Library/Caches/node-gyp/20.12.2/<(target_arch)/node.lib', | |
npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/brice/.nvm/versions/node/v20.12.2/lib/node_modules/nativescript/node_modules/fsevents', | |
npm ERR! gyp info spawn args '-Dnode_engine=v8', | |
npm ERR! gyp info spawn args '--depth=.', | |
npm ERR! gyp info spawn args '--no-parallel', | |
npm ERR! gyp info spawn args '--generator-output', | |
npm ERR! gyp info spawn args 'build', | |
npm ERR! gyp info spawn args '-Goutput_dir=.' | |
npm ERR! gyp info spawn args ] | |
npm ERR! gyp: binding.gyp not found (cwd: /Users/brice/.nvm/versions/node/v20.12.2/lib/node_modules/nativescript/node_modules/fsevents) while trying to load binding.gyp | |
npm ERR! gyp ERR! configure error | |
npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1 | |
npm ERR! gyp ERR! stack at ChildProcess.<anonymous> (/Users/brice/.nvm/versions/node/v20.12.2/lib/node_modules/nativescript/node_modules/node-gyp/lib/configure.js:297:18) | |
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:518:28) | |
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12) | |
npm ERR! gyp ERR! System Darwin 23.4.0 | |
npm ERR! gyp ERR! command "/Users/brice/.nvm/versions/node/v20.12.2/bin/node" "/Users/brice/.nvm/versions/node/v20.12.2/lib/node_modules/nativescript/node_modules/.bin/node-gyp" "rebuild" | |
npm ERR! gyp ERR! cwd /Users/brice/.nvm/versions/node/v20.12.2/lib/node_modules/nativescript/node_modules/fsevents | |
npm ERR! gyp ERR! node -v v20.12.2 | |
npm ERR! gyp ERR! node-gyp -v v10.1.0 | |
npm ERR! gyp ERR! not ok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment