인프런 커뮤니티 질문&답변
npm run serve 질문드립니다..
작성
·
783
0
강의 듣는 중 npm run serve 를 실행하면 에러가나서,,
INFO Starting development server...
ERROR ValidationError: Progress Plugin Invalid Options
options should NOT have additional properties
options should NOT have additional properties
options should NOT have additional properties
options should pass "instanceof" keyword validation
options should match exactly one schema in oneOf
ValidationError: Progress Plugin Invalid Options
options should NOT have additional properties
options should NOT have additional properties
options should NOT have additional properties
options should pass "instanceof" keyword validation
options should match exactly one schema in oneOf
at validateOptions (C:\vue-project\infrun\node_modules\schema-utils\src\validateOptions.js:32:11)
at new ProgressPlugin (C:\vue-project\infrun\node_modules\webpack\lib\ProgressPlugin.js:108:3)
at new Progress (C:\vue-project\infrun\node_modules\progress-webpack-plugin\index.js:25:21)
at new progressPlugin (C:\vue-project\infrun\node_modules\progress-webpack-plugin\index.js:127:10)
at C:\vue-project\infrun\node_modules\webpack-chain\src\Plugin.js:14:18
at Object.toConfig (C:\vue-project\infrun\node_modules\webpack-chain\src\Plugin.js:78:22)
at C:\vue-project\infrun\node_modules\webpack-chain\src\Config.js:129:63
at Array.map (<anonymous>)
at module.exports.toConfig (C:\vue-project\infrun\node_modules\webpack-chain\src\Config.js:129:40)
at Service.resolveWebpackConfig (C:\vue-project\infrun\node_modules\@vue\cli-service\lib\Service.js:277:34)
at PluginAPI.resolveWebpackConfig (C:\vue-project\infrun\node_modules\@vue\cli-service\lib\PluginAPI.js:132:25)
at serve (C:\vue-project\infrun\node_modules\@vue\cli-service\lib\commands\serve.js:75:31)
at Service.run (C:\vue-project\infrun\node_modules\@vue\cli-service\lib\Service.js:262:12)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! infrun@1.0.0 serve: `vue-cli-service serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the infrun@1.0.0 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\dongj\AppData\Roaming\npm-cache\_logs\2022-05-05T14_41_48_320Z-debug.log
혹시 해결방법 좀 알 수있을까요,,
npm run serve 하기위해
vue add @vue/cli-service
npm uninstall vue-cli -g
npm install -g @vue/cli
npm i postcss@8 -D
이렇게 진행했는데,, 이전상태로 못돌리겠습니다 ㅠ
답변




