question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npm install of 3.19.0 failing

See original GitHub issue

With 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:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
cf512commented, Oct 13, 2021

@verhovsky Yes, it works now. Many thanks.

1reaction
verhovskycommented, Sep 30, 2021

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found