You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
const IPFS = require('ipfs');
const ipfs = new IPFS()
And got an error:
module.js:471
throw err;
^
Error: Cannot find module 'async/each'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/Users/vladislav/WebstormProjects/testipfs/ipfsdrive/node_modules/libp2p-floodsub/src/index.js:9:19)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/Users/vladislav/WebstormProjects/testipfs/ipfsdrive/node_modules/ipfs/src/core/components/start.js:5:18)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
There was no such error before.
UPD.
When i install manually npm i async
It's work, but as I said before it works without intervention and manually installation.