当前位置:网站首页>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-devreason
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
边栏推荐
- 领域驱动实践总结(基本理论总结与分析V+架构分析与代码设计+具体应用设计分析)
- Efficient and Robust 2D-to-BEV Representation Learning via Geometry-guided Kernel Transformer 论文笔记
- BEVDet4D: Exploit Temporal Cues in Multi-camera 3D Object Detection Paper Notes
- 递归递推之计算组合数
- 指针(C语言初解)
- bgp双平面实验 路由策略控制流量
- 一个 CRM One Order Application log 的单元测试报表
- YTU 2295: KMP pattern match one (string)
- mSystems | Zhongnong Wang Jie Group Reveals the Mechanisms Affecting Soil "Plastic Interstitial" Microbial Communities
- A method that can make large data clustering 2000 times faster
猜你喜欢

高数_证明_曲率公式

跨域的五种解决方案

Blast!ByteDance successfully landed, only because the interview questions of LeetCode algorithm were exhausted

Short read or OOM loading DB. Unrecoverable error, aborting now

浙大、阿里提出DictBERT,字典描述知识增强的预训练语言模型

3DS MAX batch export file script MAXScript with interface

3DS MAX 批量导出文件脚本 MAXScript 带界面

shell:正则表达式及三剑客grep命令

开源SPL消灭数以万计的数据库中间表

Shell:数组
随机推荐
递归递推之递归的函数
MySQL interview questions
Redis上云迁移实践
需要被记录的OpenStack相关的命令_自己用
MySQL面试题整理
递归递推之计算组合数
I would like to ask the big guys, how to solve this error when cdc oracle initializes a 3 million table task running
OpenStack-related commands that need to be recorded _ self-use
生成树协议STP(Spanning Tree Protocol)
C# InitializeComponent() does not exist in the current context
山水的高度
Comparison version number of middle questions in LeetCode
系统的安全和应用(不会点安全的东西你怎么睡得着?)
接口自动化测试基础篇
Short read or OOM loading DB. Unrecoverable error, aborting now
Reversing words in a string in LeetCode
Open Office XML 格式里如何描述多段具有不同字体设置的段落
【学习笔记】Redis的持久化
Network Saboteur
Lithium battery technology