最佳答案
我正在学习 React.js,我正在使用 Windows 8操作系统,我已经导航到我的根文件夹
1.Created the package.json file by npm init
2. install webpack by npm install -S webpack.now webpack has been downloaded to my modules folder
3. install webpack globally by typing npm install webpack -g
4. i am also having a webpack.config.js in my root folder which contains the source and ouput directory
5. when i type the webpack command i am getting the below error.
Webpack 不能识别为内部或外部命令、可操作程序或批处理文件