-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
gyp ERR! stack TypeError: tar.extract is not a function #1871
Comments
macOS Catalina is not yet released and not yet supported. |
Actually I re-installed npm and it is now working. |
Running into the same error with Node 12.14.0 and node-gyp 5.0.5 on OS X Mojave. Any thoughts? Node 10 builds fine. |
Running in the same problem with Node v13.5.0 on Ubuntu 19.10. I can't seem to compile node myself and get |
Can this be re-opened please? Just about every build I run is failing due to this error. |
Did you reinstall npm as suggested above? |
I reinstalled npm and yarn both, to no avail. I then manually globally installed a new version of node-gyp to my global npm packages and moved that to the location where it was erroring. That got me one step further. Or maybe it was a step back. Now it's failing with even worse errors. |
I think this is normally a sign of mixed installs - one version is trying to use code from another - or an install that didn't properly overwrite an older install (there was a bug a while back with npm that caused this exact error because upgrading npm didn't wipe out older files and directories, leaving a jumbled mess).
|
This is not a feasible solution for 50 of our raspberry pi's |
Is there an actual solution to this? I can't install running on ubuntu with node 12 |
The only solution that actually fixes this which has been offered, is to reinstall your complete system and remove anything to do with Node, npm, yarn, and start from scratch. Understandably, this is far from an ideal solution and the fact that it's even suggested as an option is very dubious. I managed to get it up and running on our development machines without nuking the whole environment by mucking around a lot, and manually moving some package files and ignoring a lot of errors that came up. I haven't documented exact steps, as it was a messy process. |
This issue should be reopened, I spent one working day on this bug! Can't find a way to resolve! |
I resolved it with reinstall node. |
Sure, just mark issues as "closed" even if they aren't resolved, that makes the problems magically disappear... |
It seems problem of npm or n. |
真的是n 的问题,换成nvm就行了 (It's really a problem with n, just change to nvm) |
This was the problem with To fix npm (this example is for my node - check the npm version you need for your node): sudo npm install -g [email protected] |
Resolved the issue by removing all the node/yarn caches |
$ node -v
v10.14.2
$ npm -v
6.4.1
Platform: macOS Catalina
Any idea why?
The text was updated successfully, but these errors were encountered: