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 has been 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.
The text was updated successfully, but these errors were encountered:
same problem when push to heroku:
Error: Cannot find module 'async/each'
at Function.Module._resolveFilename (module.js:485:15)
at Function.Module._load (module.js:437:25)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object. (/app/server.js:6:14)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: better-npm-run start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /app/.npm/_logs/2017-12-25T21_05_29_337Z-debug.log
I have installed ipfs
npm i ipfs
Then I call it:
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.
The text was updated successfully, but these errors were encountered: