Skip to content

[testing] fix node 15/16 install due to npm 7 changes #790

@jacobheun

Description

@jacobheun

Node 15 includes npm 7 which now automatically installs peer dependencies by default, https://github.blog/2020-10-13-presenting-v7-0-0-of-the-npm-cli/.

This change also affects how we're linking libp2p itself in the devDependencies to make integration testing with modules like gossipsub easier (as it requires libp2p as a peerDependency).

Ideally we'd remove the local integration testing of modules and instead run their test suites in CI and test only the core API in the libp2p test suite. In the immediate term we should find a workaround for "libp2p": "." being in the devDependencies.

Metadata

Metadata

Assignees

Labels

P1High: Likely tackled by core team if no one steps updxDeveloper Experiencekind/bugA bug in existing code (including security flaws)

Type

No type

Projects

Status

🎉Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions