npm install of 3.19.0 failing
See original GitHub issueWith the recent release, I am not currently able to install curlconverter:
➜ testtest git:(master) ✗ npm -v
7.24.0
➜ testtest git:(master) ✗ node -v
v16.10.0
➜ testtest git:(master) ✗ npm install --save-dev curlconverter
npm ERR! code 1
npm ERR! git dep preparation failed
npm ERR! command /usr/local/Cellar/node/16.10.0/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users/omitted/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
npm ERR! > yargs-parser@20.2.7 prepare
npm ERR! > npm run compile
npm ERR!
npm ERR!
npm ERR! > yargs-parser@20.2.7 precompile
npm ERR! > rimraf build
npm ERR!
npm ERR!
npm ERR! > yargs-parser@20.2.7 compile
npm ERR! > tsc
npm ERR!
npm ERR! lib/yargs-parser.ts:737:17 - error TS2571: Object is of type 'unknown'.
npm ERR!
npm ERR! 737 if (ex.name === 'PermissionDenied') error = ex
npm ERR! ~~
npm ERR!
npm ERR! lib/yargs-parser.ts:737:49 - error [... etc ... etc]
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
npm install ->Failed at the node-sass@4.5.0 postinstall script
I tried to delete node_modules and then reinstall it, same error appears. what will be the solution? node v8.9.3 npm v5.4.2 ionic 3.19.0....
Read more >Installation of tensorflow/tfjs-node fails · Issue #6700 - GitHub
Attempting to install npm install @tensorflow/tfjs-node-gpu fails ... -v8/3.19.0/GPU-windows-3.19.0.zip npm ERR! node-pre-gyp ERR! install ...
Read more >sudo npm install but shown error - Laracasts
npm ERR! Failed at the spawn-sync@1.0.13 postinstall script. npm ERR! This is most likely a problem with the spawn-sync package, npm ERR! not...
Read more >Common errors | npm Docs
Broken npm installation; Random errors; No compatible version found; Permissions errors ... Running a Vagrant box on Windows fails due to path length...
Read more >Failing to install node.js SDK on ubuntu 15.04
Then I did: sudo npm install -g node-gyp and the mes… ... System Linux 3.19.0-25-generic gyp ERR! command "nodejs" "/usr/bin/node-gyp" ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@verhovsky Yes, it works now. Many thanks.
@cf512 you’re running into https://github.com/tree-sitter/node-tree-sitter/issues/82 . tree-sitter Node bindings are currently broken on Node 16. The fix has been merged, it just needs to be released.