Module parse failed: Unexpected token (88:55)
File was processed with these loaders:
* ./node_modules/cache-loader/dist/cjs.js
* ./node_modules/thread-loader/dist/cjs.js
* ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
我这个问题是报的是的ES2020链式操作符的问题 不能编译 "?."
解决办法:非常感谢这位博主
https://blog.youkuaiyun.com/roylinziyang/article/details/123280896
这篇博客详细记录了在使用webpack和babel时遇到的ES2020的'?.'链式操作符无法编译的问题。作者通过分析错误提示,发现需要额外的loader来处理这个问题。参照链接中的解决方案,成功解决了编译问题,确保了项目中现代JavaScript语法的顺利运行。
8166





