Skip to content
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

Cant install. gyp: No Xcode or CLT version detected! #36

Open
MarshalX opened this issue Jun 14, 2021 · 0 comments
Open

Cant install. gyp: No Xcode or CLT version detected! #36

MarshalX opened this issue Jun 14, 2021 · 0 comments

Comments

@MarshalX
Copy link

macOS 11.4, macbook air M1, node v10.24.0 via nvm, terminal (iTerm2) running under rosetta

Console output:

➜  backend (master) npm i nodegit-lfs                                                                                      ✭ ✱

> [email protected] install /Users/marshal/projects/sudoku/backend/node_modules/node-pty
> node scripts/install.js

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/marshal/.nvm/versions/node/v10.24.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Darwin 20.5.0
gyp ERR! command "/Users/marshal/.nvm/versions/node/v10.24.0/bin/node" "/Users/marshal/.nvm/versions/node/v10.24.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/marshal/projects/sudoku/backend/node_modules/node-pty
gyp ERR! node -v v10.24.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open '/Users/marshal/projects/sudoku/backend/package.json'
npm WARN backend No description
npm WARN backend No repository field.
npm WARN backend No README data
npm WARN backend No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/marshal/.npm/_logs/2021-06-14T10_32_31_110Z-debug.log

Full log file: 2021-06-14T10_32_31_110Z-debug.log

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

No branches or pull requests

1 participant