运行弹出脚本后不再编译App App
我已经在React应用程序上运行了弹出命令,因为我需要覆盖webpack.config.js文件。由于某种原因,当我尝试运行应用程序时,它现在未能编译,并且正在输出终端中的以下错误。对此的任何帮助将不胜感激。
D:\Software Projects\Repos\ipfs-archive\scripts\start.js:11
[0] throw err;
[0] ^
[0]
[0] TypeError: Cannot read properties of undefined (reading 'assets')
[0] at Compilation.createModuleAssets (D:\Software Projects\Repos\ipfs-archive\node_modules\webpack\lib\Compilation.js:4483:25)
[0] at D:\Software Projects\Repos\ipfs-archive\node_modules\webpack\lib\Compilation.js:3052:13
[0] at D:\Software Projects\Repos\ipfs-archive\node_modules\webpack\lib\Compilation.js:3277:6
[0] at Object.eachLimit (D:\Software Projects\Repos\ipfs-archive\node_modules\neo-async\async.js:3461:14)
[0] at runIteration (D:\Software Projects\Repos\ipfs-archive\node_modules\webpack\lib\Compilation.js:3206:13)
[0] at Compilation._runCodeGenerationJobs (D:\Software Projects\Repos\ipfs-archive\node_modules\webpack\lib\Compilation.js:3281:3)
[0] at D:\Software Projects\Repos\ipfs-archive\node_modules\webpack\lib\Compilation.js:3037:12
[0] at D:\Software Projects\Repos\ipfs-archive\node_modules\webpack\lib\Compilation.js:3277:6
[0] at D:\Software Projects\Repos\ipfs-archive\node_modules\neo-async\async.js:2818:7
[0] at done (D:\Software Projects\Repos\ipfs-archive\node_modules\neo-async\async.js:3522:9)
I have run the eject command on my react application, as I needed to override the webpack.config.js file. For some reason when I try to run the app it is now failing to compile and is outputting the following error in the terminal. Any help with this would be greatly appreciated.
D:\Software Projects\Repos\ipfs-archive\scripts\start.js:11
[0] throw err;
[0] ^
[0]
[0] TypeError: Cannot read properties of undefined (reading 'assets')
[0] at Compilation.createModuleAssets (D:\Software Projects\Repos\ipfs-archive\node_modules\webpack\lib\Compilation.js:4483:25)
[0] at D:\Software Projects\Repos\ipfs-archive\node_modules\webpack\lib\Compilation.js:3052:13
[0] at D:\Software Projects\Repos\ipfs-archive\node_modules\webpack\lib\Compilation.js:3277:6
[0] at Object.eachLimit (D:\Software Projects\Repos\ipfs-archive\node_modules\neo-async\async.js:3461:14)
[0] at runIteration (D:\Software Projects\Repos\ipfs-archive\node_modules\webpack\lib\Compilation.js:3206:13)
[0] at Compilation._runCodeGenerationJobs (D:\Software Projects\Repos\ipfs-archive\node_modules\webpack\lib\Compilation.js:3281:3)
[0] at D:\Software Projects\Repos\ipfs-archive\node_modules\webpack\lib\Compilation.js:3037:12
[0] at D:\Software Projects\Repos\ipfs-archive\node_modules\webpack\lib\Compilation.js:3277:6
[0] at D:\Software Projects\Repos\ipfs-archive\node_modules\neo-async\async.js:2818:7
[0] at done (D:\Software Projects\Repos\ipfs-archive\node_modules\neo-async\async.js:3522:9)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论