当前位置:网站首页>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#实现访问OPC UA服务器
- Inventory of Loudi Agricultural Products Inspection Laboratory Construction Guidelines
- 发送post请求前台无法获取数据
- 2022 Recruitment Notice for Academician Zhao Guoping Group of Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences
- 【219】慕课三千多的那个go工程师的培训课笔记 02 go语言的编程思想
- Open Office XML 格式里如何描述多段具有不同字体设置的段落
- 3DS MAX 批量导出文件脚本 MAXScript 带界面
- 简单的写一个防抖跟节流
- Ethernet channel 以太信道
- mSystems | Zhongnong Wang Jie Group Reveals the Mechanisms Affecting Soil "Plastic Interstitial" Microbial Communities
猜你喜欢
友邦人寿可观测体系设计与落地
系统的安全和应用(不会点安全的东西你怎么睡得着?)
2022-08-09:以下go语言代码输出什么?A:否,会 panic;B:是,能正确运行;C:不清楚,看投票结果。 package main import ( “fmt“ “syn
SenseTime self-developed robotic arm, the first product is an AI chess-playing robot: Guo Jingjing is also invited as an endorsement
bgp dual plane experiment routing strategy to control traffic
广东10个项目入选工信部2021年物联网示范项目名单
【学习笔记】Redis的持久化
MySQL面试题整理
想通这点,治好 AI 打工人的精神内耗
LeetCode·297.二叉树的序列化与反序列化·DFS·BFS
随机推荐
C#报错 The ‘xmins‘ attribute is not supported in this context
ES5和SE6来实现一个Promise效果
想通这点,治好 AI 打工人的精神内耗
发送post请求前台无法获取数据
Stream通过findFirst()查找满足条件的一条数据
【mysql索引实现原理】
Makefile missing separator. Stop.怎么解决「建议收藏」
Short read or OOM loading DB. Unrecoverable error, aborting now
C# error The 'xmins' attribute is not supported in this context
递归递推之Fighting_小银考呀考不过四级
想问下大佬们 ,cdc oracle初始化一张300万的表任务运行着后面就这个错 怎么解决哇
简单的写一个防抖跟节流
Lithium battery technology
数据产品经理那点事儿 一
NodeJs原理 - Stream(二)
【量化交易行情不够快?】一文搞定通过Win10 wsl2 +Ubuntu+redis+pickle实现股票行情极速读写
Wirshark common operations and tcp three-way handshake process example analysis
瑞幸「翻身」?恐言之尚早
Loudi Center for Disease Control and Prevention Laboratory Design Concept Description
Ethernet channel Ethernet channel