You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.
After upgrading ganache-cli from 6.1.8 to 6.2.1, starting the cli fails with
Error: Cannot find module './node_modules/ganache-core/package.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
at Function.Module._load (internal/modules/cjs/loader.js:506:25)
at Module.require (internal/modules/cjs/loader.js:636:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/Users/me/project/node_modules/ganache-cli/cli.js:11:15)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
at startup (internal/bootstrap/node.js:285:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
Thanks @webmaster128! ganache-cli itself is no longer being webpacked, which is why this bug was uncovered with this latest release. Fixed in trufflesuite/ganache#594. I'll push out a new release for this today.
After upgrading ganache-cli from 6.1.8 to 6.2.1, starting the cli fails with
Expected Behavior
works
Current Behavior
fails with the error above
Possible Solution
This is probably related to the path of the binary, which changed in trufflesuite/ganache@d1f654d
Making assumptions on other module's installation path is probably no good idea in general.
Steps to Reproduce (for bugs)
cd /
(or some other place outside of the project)/full/path/to/project/node_modules/.bin/ganache-cli --help
Context
Tries to upgrade dependencies in iov-one/iov-core#544
Your Environment
The text was updated successfully, but these errors were encountered: