Medium / phantomjs

NPM wrapper for installing phantomjs
Other
1.42k stars 436 forks source link

module.js:341 Error. #683

Open manideep444 opened 7 years ago

manideep444 commented 7 years ago

I'm trying to run my website in docker. it work's fine before but now i'm receiving this error. I tried everything updating npm, uninstall and reinstall nothing works. can anyone help me in this issue!

Error occurs when i run . $ npm run dev

[nodemon] 1.11.0 [nodemon] to restart at any time, enter rs [nodemon] watching: . [nodemon] starting babel-node --harmony . module.js:341 throw err; ^

Error: Cannot find module 'dist/assets.json' at Function.Module._resolveFilename (module.js:339:15) at Function.Module._load (module.js:290:25) at Function.cls_wrapMethod [as _load] (/src/node_modules/newrelic/lib/shimmer.js:235:38) at Module.require (module.js:367:17) at require (internal/module.js:20:19) at Object. (/src/server/index.jsx:97:15) at Module._compile (module.js:413:34) at loader (/src/node_modules/babel-register/lib/node.js:158:5) at Object.require.extensions.(anonymous function) [as .jsx] (/src/node_modules/babel-register/lib/node.js:168:7) at Module.load (module.js:357:32) at Function.Module._load (module.js:314:12) at Function.cls_wrapMethod [as _load] (/src/node_modules/newrelic/lib/shimmer.js:235:38) at Module.require (module.js:367:17) at require (internal/module.js:20:19) at Object. (/src/index.js:40:14) at Module._compile (module.js:413:34) at loader (/src/node_modules/babel-register/lib/node.js:158:5) at Object.require.extensions.(anonymous function) [as .js] (/src/node_modules/babel-register/lib/node.js:168:7) at Module.load (module.js:357:32) at Function.Module._load (module.js:314:12) at Function.Module.runMain (module.js:447:10) at /src/node_modules/babel-cli/lib/_babel-node.js:160:24 at Object. (/src/node_modules/babel-cli/lib/_babel-node.js:161:7) at Module._compile (module.js:413:34) at Object.Module._extensions..js (module.js:422:10) at Module.load (module.js:357:32) at Function.Module._load (module.js:314:12) at Function.Module.runMain (module.js:447:10) at startup (node.js:148:18) at node.js:405:3

[nodemon] app crashed - waiting for file changes before starting...