You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've seen this issue in my local machine before. Perhaps we just document it? or add a target like make fix-node-gyp?
warning Error running install script for optional dependency: "/Users/armenzg/code/sentry/node_modules/@visual-snapshot/jest-environment/node_modules/jest-haste-map/node_modules/fsevents, /Users/armenzg/code/sentry/node_modules/jest-environment-jsdom/node_modules/fsevents, /Users/armenzg/code/sentry/node_modules/watchpack-chokidar2/node_modules/fsevents, /Users/armenzg/code/sentry/node_modules/webpack-dev-server/node_modules/fsevents: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /Users/armenzg/code/sentry/node_modules/jest-environment-jsdom/node_modules/fsevents
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info find Python using Python version 3.6.10 found at \"/Users/armenzg/code/sentry/.venv/bin/python\"
gyp info spawn /Users/armenzg/code/sentry/.venv/bin/python
gyp info spawn args [
gyp info spawn args '/Users/armenzg/.volta/tools/image/node/12.19.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/armenzg/code/sentry/node_modules/jest-environment-jsdom/node_modules/fsevents/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/armenzg/.volta/tools/image/node/12.19.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/armenzg/Library/Caches/node-gyp/12.19.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/armenzg/Library/Caches/node-gyp/12.19.0',
gyp info spawn args '-Dnode_gyp_dir=/Users/armenzg/.volta/tools/image/node/12.19.0/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/armenzg/Library/Caches/node-gyp/12.19.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/armenzg/code/sentry/node_modules/jest-environment-jsdom/node_modules/fsevents',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
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 (/Users/armenzg/.volta/tools/image/node/12.19.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 20.2.0
gyp ERR! command \"/Users/armenzg/.volta/tools/image/node/12.19.0/bin/node\" \"/Users/armenzg/.volta/tools/image/node/12.19.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"
gyp ERR! cwd /Users/armenzg/code/sentry/node_modules/jest-environment-jsdom/node_modules/fsevents
gyp ERR! node -v v12.19.0
✨ Done in 9.77s.
The text was updated successfully, but these errors were encountered:
Sorry, friend. As far as this ol' bot can tell, your issue does not properly use one of this repo's available issue templates. Please try again, if you like. (And if I'm confused, please let us know. 😬)
I see this
gyp: No Xcode or CLT version detected!
error once in a while (see bottom of description).I followed the steps in here
This acid test would fail for me:
curl -sL https://github.com/nodejs/node-gyp/raw/master/macOS_Catalina_acid_test.sh | bash
I followed the steps on the last section and it is now working:
I've seen this issue in my local machine before. Perhaps we just document it? or add a target like
make fix-node-gyp
?The text was updated successfully, but these errors were encountered: