課程
/前端開發
/前端工具
/Vue+Webpack打造todo應用
按照老師的步驟寫的,為什么我的沒有打包出css文件呢。。。
2018-02-04
源自:Vue+Webpack打造todo應用 4-1
正在回答
終端執行?npm i extract-text-webpack-plugin 時候報錯了報錯內容:
npm WARN checkPermissions Missing write access to E:\my-project\vue-TuDolist\node_modules\uglify-js\node_modules\yargs
npm WARN [email protected] No repository field.
npm ERR! path E:\my-project\vue-TuDolist\node_modules\uglify-js\node_modules\yargs
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall access
npm ERR! enoent ENOENT: no such file or directory, access 'E:\my-project\vue-TuDolist\node_modules\uglify-js\node_modules\yargs'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! ? ? C:\Users\anyao\AppData\Roaming\npm-cache\_logs\2018-02-27T13_17_35_828Z-debug.log
舉報
用前端最熱門框架Vue+最火打包工具Webpack打造todo應用
3 回答css分離打包生成的css文件內容,包含了.vue文件里的css樣式
3 回答npm run build有打包成功文件 但同時有報錯 看不出來原因
1 回答已經指定 .vue文件使用 vue-loader,打包不成功
2 回答打包不成功,path未定義
1 回答生成css文件問題
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2018-02-27
終端執行?npm i extract-text-webpack-plugin 時候報錯了
報錯內容:
npm WARN checkPermissions Missing write access to E:\my-project\vue-TuDolist\node_modules\uglify-js\node_modules\yargs
npm WARN [email protected] No repository field.
npm ERR! path E:\my-project\vue-TuDolist\node_modules\uglify-js\node_modules\yargs
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall access
npm ERR! enoent ENOENT: no such file or directory, access 'E:\my-project\vue-TuDolist\node_modules\uglify-js\node_modules\yargs'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! ? ? C:\Users\anyao\AppData\Roaming\npm-cache\_logs\2018-02-27T13_17_35_828Z-debug.log