https dependencies no longer work with npm 7 in CI
See original GitHub issueExpected Behavior
The expected behaviour is that all modules of the official latest version of the Celo SDK are published to npm and not pulled from third party dependencies and external URLs like GitHub. Using non-npm dependencies has always led to many issues that are hard to debug and predict in all the projects I worked on so far.
Current Behavior
A breaking change introduced in npm 7 (see https://github.com/npm/cli/issues/2610) causes all https
dependencies to be re-written as git+ssh
in the package-lock.json
. This breaks in many environment (e.g. most CI environments like GitHub actions) with a permission denied error trying to install Celos non-npm dependencies:
This is related to my previous PR https://github.com/celo-org/celo-monorepo/pull/6474 but the ideal solution is to really not use any external non-npm dependencies like that at all.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top GitHub Comments
Thanks @daffl!
This issue is stale and will be closed in 30 days without activity