Error: Child compilation failed:

本文介绍了一种常见的编译错误:Childcompilation失败,通常伴随着Modulebuildfailed和ENOENT错误。文章指出,这种错误往往是由于文件或目录不存在引起的,并提供了一个简单的解决方案:卸载并重新安装相关模块。
Error: Child compilation failed:
  Module build failed: Error: ENOENT: no such file or directory,
Error: ENOENT: no such file or directory, open

出现这样的错误怎么办。不用慌,只是编译错误,卸载了重新装一次。

ERROR Failed to compile with 2 errors 11:06:22 [eslint] Invalid Options: - Unknown options: extensions - 'extensions' has been removed. You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignore the next line. Use /* eslint-disable */ to ignore all warnings in a file. Error: Child compilation failed: [eslint] Invalid Options: - Unknown options: extensions - 'extensions' has been removed. - child-compiler.js:211 [3dplus]/[html-webpack-plugin]/lib/child-compiler.js:211:18 - Compiler.js:650 finalCallback [3dplus]/[webpack]/lib/Compiler.js:650:5 - Compiler.js:686 [3dplus]/[webpack]/lib/Compiler.js:686:11 - Compiler.js:1377 [3dplus]/[webpack]/lib/Compiler.js:1377:17 - task_queues:95 process.processTicksAndRejections node:internal/process/task_queues:95:5 ERROR in [eslint] Invalid Options: - Unknown options: extensions - 'extensions' has been removed. ERROR in Error: Child compilation failed: [eslint] Invalid Options: - Unknown options: extensions - 'extensions' has been removed. - child-compiler.js:211 [3dplus]/[html-webpack-plugin]/lib/child-compiler.js:211:18 - Compiler.js:650 finalCallback [3dplus]/[webpack]/lib/Compiler.js:650:5 - Compiler.js:686 [3dplus]/[webpack]/lib/Compiler.js:686:11 - Compiler.js:1377 [3dplus]/[webpack]/lib/Compiler.js:1377:17 - task_queues:95 process.processTicksAndRejections node:internal/process/task_queues:95:5 1 ERROR in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details) webpack compiled with 3 errors
07-23
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值