I run this command in my project folder
npm install --global webpack webpack-dev-server
it return:
/usr/lib
├── [email protected]
└── [email protected]
webpack and webpack-dev-server folders are under /usr/lib/node_modules, webpack command works, webpack-dev-server command return:
webpack-dev-server: command not found
the configure json:
"webpack": "^1.14.0",
"webpack-dev-server": "^1.9.0"
I also tried install in without -g, there is node_modules under the project folder, and .bin folder under node_modules. However webpack-dev-server is out of node_modules folder. I try move webpack-dev-server into .bin. it does not work either.