当前位置:网站首页>Error: Rule can only have one resource source (provided resource and test + include + exclude)
Error: Rule can only have one resource source (provided resource and test + include + exclude)
2022-08-10 13:33:00 【T_Y_F666】
Question
Error: Rule can only have one resource source (provided resource and test + include + exclude)
Error: Rule can only have one resource source (provided resource and test + include + exclude) in"exclude": [null],"use": [{"loader": "/Users/juanpablo/front-treatments/node_modules/cache-loader/dist/cjs.js","options": {"cacheDirectory": "/Users/juanpablo/front-treatments/node_modules/.cache/babel-loader","cacheIdentifier": "81fef5a6"},"ident": "clonedRuleSet-38[0].rules[0].use[0]"},{"loader": "/Users/juanpablo/front-treatments/node_modules/babel-loader/lib/index.js","options": "undefined","ident": "undefined"}]} ````A complete log of this run can be found in:0 info it worked if it ends with ok1 verbose cli [1 verbose cli '/Users/juanpablo/.nvm/versions/node/v12.19.0/bin/node',1 verbose cli '/Users/juanpablo/.nvm/versions/node/v12.19.0/bin/npm',1 verbose cli 'run',1 verbose cli 'serve'1 verbose cli ]2 info using [email protected] info using [email protected] verbose run-script [ 'preserve', 'serve', 'postserve' ]5 info lifecycle [email protected]~preserve: [email protected] info lifecycle [email protected]~serve: [email protected] verbose lifecycle [email protected]~serve: unsafe-perm in lifecycle true8 verbose lifecycle [email protected]~serve: PATH: /Users/juanpablo/.nvm/versions/node/v12.19.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/juanpablo/front-treatments/node_modules/.bin:/Users/juanpablo/.nvm/versions/node/v12.19.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/juanpablo/.rvm/bin9 verbose lifecycle [email protected]~serve: CWD: /Users/juanpablo/front-treatments10 silly lifecycle [email protected]~serve: Args: [ '-c', 'vue-cli-service serve' ]11 silly lifecycle [email protected]~serve: Returned: code: 1 signal: null12 info lifecycle [email protected]~serve: Failed to exec serve script13 verbose stack Error: [email protected] serve: `vue-cli-service serve`13 verbose stack Exit status 113 verbose stack at EventEmitter. (/Users/juanpablo/.nvm/versions/node/v12.19.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)13 verbose stack at EventEmitter.emit (events.js:314:20)13 verbose stack at ChildProcess. (/Users/juanpablo/.nvm/versions/node/v12.19.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)13 verbose stack at ChildProcess.emit (events.js:314:20)13 verbose stack at maybeClose (internal/child_process.js:1021:16)13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)14 verbose pkgid [email protected] verbose cwd /Users/juanpablo/front-treatments16 verbose Darwin 19.6.017 verbose argv "/Users/juanpablo/.nvm/versions/node/v12.19.0/bin/node" "/Users/juanpablo/.nvm/versions/node/v12.19.0/bin/npm" "run" "serve"18 verbose node v12.19.019 verbose npm v6.14.820 error code ELIFECYCLE21 error errno 122 error [email protected] serve: `vue-cli-service serve`22 error Exit status 123 error Failed at the [email protected] serve script.23 error This is probably not a problem with npm. There is likely additional logging output above.24 verbose exit [ 1, true ]
Solution
Console
npm uninstall webpacknpm install [email protected]^4.0.0 --save-dev
reason
The problem is caused by the conflicting version of webpack in package.json, enter the statement npm uninstall webpack to delete the current webpack, enter the statement npm install [email protected]^4.0.0 --save-dev to reinstall the previous version
Reference content
Error: Rule can only have one resource source (provided resource and test + include + exclude)
Original is not easy
Reprint please indicate the source
If it helps you, don’t forget to like and support
边栏推荐
- C# error The 'xmins' attribute is not supported in this context
- YTU 2295: KMP pattern match one (string)
- rpn:def concat_box_prediction_layers
- [Study Notes] Persistence of Redis
- 瑞幸「翻身」?恐言之尚早
- Fragment's show and hide
- Lithium battery technology
- Blast!ByteDance successfully landed, only because the interview questions of LeetCode algorithm were exhausted
- Circle 创始人回应美财政部禁止 Tornado :隐私与安全之间关系紧张
- 一种能让大型数据聚类快2000倍的方法,真不戳
猜你喜欢
Short read or OOM loading DB. Unrecoverable error, aborting now
记录几道整型提升的题目
【量化交易行情不够快?】一文搞定通过Win10 wsl2 +Ubuntu+redis+pickle实现股票行情极速读写
【ECCV 2022|Millions of Prizes】PSG Competition: Pursuing the "Most Comprehensive" Scene Understanding
Nanodlp v2.2/v3.0 light curing circuit board, connection method of mechanical switch/photoelectric switch/proximity switch and system state level setting
如何完成新媒体产品策划?
接口自动化测试基础篇
Detailed explanation of es6-promise object
MySQL interview questions
3DS MAX 批量导出文件脚本 MAXScript 带界面
随机推荐
山水的高度
22!Beijing Changping District notified catering service enterprises with food safety problems
OpenStack-related commands that need to be recorded _ self-use
广东10个项目入选工信部2021年物联网示范项目名单
[Advanced Digital IC Verification] Difference and focus analysis between SoC system verification and IP module verification
2022年五大云虚拟化趋势
机器学习实战(2)——端到端的机器学习项目
【mysql索引实现原理】
C# 当前上下文中不存在InitializeComponent()
记录几道整型提升的题目
什么?你还不会JVM调优?
接口自动化测试基础篇
Makefile missing separator. Stop.怎么解决「建议收藏」
ABAP 里文件操作涉及到中文字符集的问题和解决方案试读版
[219] The training course notes of the go engineer with more than 3,000 MOOCs 02 Programming ideas in the go language
tampercfg内核模块导致机器频繁crash
进程和计划任务管理
Loudi Center for Disease Control and Prevention Laboratory Design Concept Description
Efficient and Robust 2D-to-BEV Representation Learning via Geometry-guided Kernel Transformer 论文笔记
YTU 2295: KMP pattern match one (string)