Failed to compile. ./src/api/system/eduction.js Module build failed (from ./node_modules/eslint-loader/index.js): Error: ENOENT: no such file or directory, open 'E:\workspace\foen\foen-ui\src\api\system\eduction.js'
具體操作 1、若安裝過 image-webpack-loader 先卸載 yarn remove image-webpack-loader // npm uninstall image-webpack-loader 1 2、使用 cnpm , 這一步意思就是安裝 cnpm 然后將全局的 registry 設置成阿里的鏡像,國內阿里比較快 npm install cnpm -g --registry=https://registry.npm.taobao.org 1 3、使用 cnpm 安裝 image-webpack-loader 會發現很快就安裝好了,【手動滑稽】 cnpm install --save-dev image-webpack-loader 1 注:如果先前嘗試使用 yarn 或 npm 安裝過,一定要先卸載掉用 cnpm 安裝 祝你成功!

