webpack安装过程遇到的问题 npm list -g --depth 0 查看npm已下载到全局的包 没有webpack安装的包 安装webpack全局 npm install webpack@3.8.1 -g 查看npm已下载到全局的包 显示已经出现webpack版本了,说明安装成功了。