webpack 打包报错: One CLI for webpack must be installed. These are recommended choices, delivered as separate packages: 解决办法: 全局.局部安装个遍!具体什么原因还不清楚... 先全局安装webpack和webpack-clinpm install webpack -gnpm install webpack-cli -g再局部安装webpack和webpack-clinpm inst…
问题描述: webpack 打包报错 Cannot assign to read only property 'exports' of object '#<Object>',这怎么破? 解决方案: 原因是:The code above is ok. You can mix require and export. You can‘t mix import and module.exports 翻译过来就是说,代码没毛病,在webpack打包的时候,可以在js文件中混用require和export…
Mac Angular打包报错: Error: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance Angular项目运行,打包需安装环境如下: 1:安装node(自己去官网下载指定版本安装,Angular1.0这种过时的项目是不支持高版…