Skip to content

Instantly share code, notes, and snippets.

@Yusadolat
Created December 17, 2016 17:16
Show Gist options
  • Save Yusadolat/0b322ad8782380203b1b3e444e462312 to your computer and use it in GitHub Desktop.
Save Yusadolat/0b322ad8782380203b1b3e444e462312 to your computer and use it in GitHub Desktop.
Wordress client error
> webpack-dev-server --port 8080 --json --progress
module.js:472
throw err;
^
Error: Cannot find module 'webpack'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/local/lib/node_modules/webpack-dev-server/bin/webpack-dev-server.js:17:15)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
npm ERR! Linux 4.4.0-53-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v7.2.1
npm ERR! npm v4.0.5
npm ERR! code ELIFECYCLE
npm ERR! wordpress-hybrid-client@2.0.0-beta16 start: `webpack-dev-server --port 8080 --json --progress`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the wordpress-hybrid-client@2.0.0-beta16 start script 'webpack-dev-server --port 8080 --json --progress'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the wordpress-hybrid-client package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! webpack-dev-server --port 8080 --json --progress
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs wordpress-hybrid-client
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls wordpress-hybrid-client
npm ERR! There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! Please include the following file with any support request:
npm ERR! /home/yusadolat/wordpress-hybrid-client/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment