当前位置:网站首页>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
边栏推荐
- [219] The training course notes of the go engineer with more than 3,000 MOOCs 02 Programming ideas in the go language
- BEVDet4D: Exploit Temporal Cues in Multi-camera 3D Object Detection Paper Notes
- Detailed explanation of es6-promise object
- 【ECCV 2022|Millions of Prizes】PSG Competition: Pursuing the "Most Comprehensive" Scene Understanding
- 3DS MAX 批量导出文件脚本 MAXScript 带界面
- C#实现访问OPC UA服务器
- I would like to ask the big guys, how to solve this error when cdc oracle initializes a 3 million table task running
- 什么?你还不会JVM调优?
- Circle 创始人回应美财政部禁止 Tornado :隐私与安全之间关系紧张
- CodeForces - 811A
猜你喜欢
3DS MAX batch export file script MAXScript with interface
C#实现访问OPC UA服务器
【目标检测】小脚本:提取训练集图片与标签并更新索引
想通这点,治好 AI 打工人的精神内耗
LeetCode·每日一题·640.求解方程·模拟构造
2022-08-09: What does the following go code output?A: No, it will panic; B: Yes, it can run correctly; C: Not sure, see the voting result.package main import (“fmt“ “syn
Code Casual Recording Notes_Dynamic Programming_70 Climbing Stairs
Comparison version number of middle questions in LeetCode
Interface Automation Testing Basics
LeetCode·297.二叉树的序列化与反序列化·DFS·BFS
随机推荐
Network Saboteur
Interface Automation Testing Basics
【ECCV 2022|百万奖金】PSG大赛:追求“最全面”的场景理解
【mysql索引实现原理】
机器学习实战(2)——端到端的机器学习项目
数据产品经理那点事儿 二
跨域的五种解决方案
Short read or OOM loading DB. Unrecoverable error, aborting now
tampercfg内核模块导致机器频繁crash
Circle 创始人回应美财政部禁止 Tornado :隐私与安全之间关系紧张
Jenkins修改端口号, jenkins容器修改默认端口号
Requirements for the construction of Loudi stem cell preparation laboratory
Matlab画分段函数「建议收藏」
简单的写一个防抖跟节流
代码随想录笔记_动态规划_70爬楼梯
递归递推之递归的函数
2022-08-09: What does the following go code output?A: No, it will panic; B: Yes, it can run correctly; C: Not sure, see the voting result.package main import (“fmt“ “syn
PHP 判断文件是否有内容,没有内容则复制另一个文件写入
the height of the landscape
Fragment-hide和show