-
Notifications
You must be signed in to change notification settings - Fork 678
The latest version can't be installed with node v12.19.0 and npm v6.14.8 #650
Comments
Hm, thanks for opening this. I'll look into it! I couldn't figure out |
Do you have more information to reproduce? I've been unable to do so. |
It's currently inside our synthetix bundle now ( Try cloning and installing this: https://github.com/Synthetixio/synthetix-cli - you should see it pop up immediately. I wonder if the usage of |
Something I noticed from the latest release is that the shrink wrap file has been generated with npm 7, maybe those are incompatible/trigger a bug in npm 6. |
@davidmurdoch @alcuadrado I was able to fix this by removing: Everything seems to work now. To reproduce you can do these steps:
now if you open Created PR for this with a fix: #653 |
Fixed in 2.13.1 https://www.npmjs.com/package/ganache-core/v/2.13.1 |
Hey @davidmurdoch,
I've seen multiple reports of npm failing to install ganache-core lately. Initially I couldn't reproduce it until I switched to node 12.
This is a pretty weird error, as running
npm init -y && npm i ganache-core
doesn't fail. But if you have a project with apackage.json
andpackage-lock.json
that already haveganache-core
, you get this error:This may be a bug in npm/node, but you could avoid it by upgrading
web3-provider-engine
, as it doesn't use a git-based dependency anymore.We haven't touched the
ethereumjs/ethereumjs-abi
repo in a long time, and it does contain apackage.json
. So I'm inclined to think that it's npm's fault.The text was updated successfully, but these errors were encountered: