Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Cannot find module 'libp2p-crypto' #1571

Closed
olizilla opened this issue Sep 17, 2018 · 0 comments · Fixed by #1572
Closed

Cannot find module 'libp2p-crypto' #1571

olizilla opened this issue Sep 17, 2018 · 0 comments · Fixed by #1572
Assignees
Labels
exp/novice Someone with a little familiarity can pick up kind/bug A bug in existing code (including security flaws) P1 High: Likely tackled by core team if no one steps up

Comments

@olizilla
Copy link
Member

  • Version: 0.32
  • Platform: all
  • Subsystem:

Type:

Bug

Severity:

High

Description:

libp2p-crypto isn't listed in the package.json dependencies of js-ipfs, but is used

const crypto = require('libp2p-crypto')

$ node src/cli/bin.js daemon
Initializing daemon...
/Users/oli/Code/ipfs/js-ipfs/node_modules/yargs/yargs.js:1144
      else throw err
           ^

Error: Cannot find module 'libp2p-crypto'

$ node --version
v8.12.0

$ npm --version
6.4.1

Steps to reproduce the error:

  • Pull from js-ipfs master,
  • npm install
  • run node src/cli/bin.js daemon
@olizilla olizilla added kind/bug A bug in existing code (including security flaws) status/in-progress In progress exp/novice Someone with a little familiarity can pick up P1 High: Likely tackled by core team if no one steps up labels Sep 17, 2018
@olizilla olizilla self-assigned this Sep 17, 2018
olizilla added a commit that referenced this issue Sep 17, 2018
fixes #1571

License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
@ghost ghost removed the status/in-progress In progress label Sep 17, 2018
alanshaw pushed a commit that referenced this issue Sep 17, 2018
fixes #1571

License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
exp/novice Someone with a little familiarity can pick up kind/bug A bug in existing code (including security flaws) P1 High: Likely tackled by core team if no one steps up
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant