web3-workshop icon indicating copy to clipboard operation
web3-workshop copied to clipboard

Module not found: Error: Can't resolve 'multicodec/src/name-table'

Open siman opened this issue 3 years ago • 4 comments

I checked out the branch 6-play-track and run these commands:

yarn
yarn start

Output:

ERROR in ./node_modules/ipfs-bitswap/src/types/message/index.js
Module not found: Error: Can't resolve 'multicodec/src/name-table' in '/Users/siman/Work/df/hackfs/orbitdb/web3-workshop/node_modules/ipfs-bitswap/src/types/message'
 @ ./node_modules/ipfs-bitswap/src/types/message/index.js 17:18-54
 @ ./node_modules/ipfs-bitswap/src/decision-engine/index.js
 @ ./node_modules/ipfs-bitswap/src/index.js
 @ ./node_modules/ipfs/src/core/components/start.js
 @ ./node_modules/ipfs/src/core/components/index.js
 @ ./node_modules/ipfs/src/core/index.js
 @ ./index.js
Child html-webpack-plugin for "index.html":
     1 asset
    Entrypoint undefined = index.html
    [./node_modules/html-webpack-plugin/lib/loader.js!./index.html] 411 bytes {0} [built]
    [./node_modules/lodash/lodash.js] 530 KiB {0} [built]
    [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 475 bytes {0} [built]
    [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 546 bytes {0} [built]
ℹ 「wdm」: Failed to compile.

siman avatar Jul 22 '20 12:07 siman