[BUG] npm ls -all results in error after installing ganache-core@2.13.2
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.1k
- Forks
- 4.7k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 19
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When running npm i ; npm ls --all on a package with ganache-core@2.13.2 listed as one of the dependencies, I get the following error:
npm ERR! code ELSPROBLEMS
npm ERR! invalid: eth-sig-util@1.4.2 /src/example-apps/hardhat_example/node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/eth-sig-util
npm ERR! invalid: ethereumjs-abi@0.6.8 /src/example-apps/hardhat_example/node_modules/ganache-core/node_modules/ethereumjs-abi
Expected Behavior
Perhaps an error message while installing if there is a problem in one of the packages.
Otherwise the correct results from npm ls --all.
Steps To Reproduce
1.Use this package.json:
{
"name": "my-project",
"devDependencies": {
"ganache-core": "2.13.2"
}
}
- Run
npm i - Run
npm ls -all
Environment
- OS: macos
- Node: v16.8.0
- npm: 7.21.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the provided package.json on macOS using Node v16.8.0 and npm 7.21.0, then run npm i and npm ls --all. Trace how npm reports the invalid eth-sig-util and ethereumjs-abi dependencies under ganache-core@2.13.2. Done means the dependency tree is handled consistently with the expected installation or diagnostic behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100