摘要:
依赖安装 : 全局安装webpack : sudo npm install webpack -g 本地安装webpack : npm install webpack —save-dev 需要注意的是 : 在安装之前确保项目中有package.json文件存在,没有通过 npm init 创建 npm 阅读全文
摘要:
MacBook-Air:~ xxx$ npm install webpack -g npm WARN invalid config registry="" npm WARN invalid config Must be a full url with 'http://' npm WARN check 阅读全文