Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Module not found error" with npm i -g @colony/pinion #104

Open
aphelionz opened this issue Apr 17, 2020 · 2 comments
Open

"Module not found error" with npm i -g @colony/pinion #104

aphelionz opened this issue Apr 17, 2020 · 2 comments

Comments

@aphelionz
Copy link

Node 12.10.0

Error: Cannot find module 'multicodec/src/name-table'
Require stack:
- /home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/node_modules/ipfs-bitswap/src/types/message/index.js
- /home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/node_modules/ipfs-bitswap/src/want-manager/index.js
- /home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/node_modules/ipfs-bitswap/src/index.js
- /home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/node_modules/ipfs/src/core/components/start.js
- /home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/node_modules/ipfs/src/core/components/index.js
- /home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/node_modules/ipfs/src/core/index.js
- /home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/lib/IPFSNode.js
- /home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/lib/Pinion.js
- /home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/lib/index.js
- /home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/bin/index.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:772:15)
    at Function.Module._load (internal/modules/cjs/loader.js:677:27)
    at Module.require (internal/modules/cjs/loader.js:830:19)
    at require (internal/modules/cjs/helpers.js:68:18)
    at Object.<anonymous> (/home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/node_modules/ipfs-bitswap/src/types/message/index.js:10:19)
    at Module._compile (internal/modules/cjs/loader.js:936:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:947:10)
    at Module.load (internal/modules/cjs/loader.js:790:32)
    at Function.Module._load (internal/modules/cjs/loader.js:703:12)
    at Module.require (internal/modules/cjs/loader.js:830:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/node_modules/ipfs-bitswap/src/types/message/index.js',
    '/home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/node_modules/ipfs-bitswap/src/want-manager/index.js',
    '/home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/node_modules/ipfs-bitswap/src/index.js',
    '/home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/node_modules/ipfs/src/core/components/start.js',
    '/home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/node_modules/ipfs/src/core/components/index.js',
    '/home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/node_modules/ipfs/src/core/index.js',
    '/home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/lib/IPFSNode.js',
    '/home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/lib/Pinion.js',
    '/home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/lib/index.js',
    '/home/mark/.nvm/versions/node/v12.10.0/lib/node_modules/@colony/pinion/bin/index.js'
  ]
}
@aphelionz
Copy link
Author

Update: works checking out from source and running yarn start

@pepoospina
Copy link

It does not work form me with yarn start either. Same error.

Error: Cannot find module 'multicodec/src/name-table'
Require stack:
- /home/pepo/pr/uprtcl/pinion/node_modules/ipfs-bitswap/src/types/message/index.js
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants