Skip to content
  • 首页
  • PHP源码
  • html5网页模板
  • js特效
  • Window软件
  • Mac软件
  • 服务器
  • 其他
Search
源码巴士
  • Sample Page

Module build failed: TypeError: Cannot read property ‘match‘ of undefined at Object.解决

xx​​​​​​​npm ERR! Cannot read property 'match' of undefined 错误处理_Jane_96的博客-CSDN博客跟往常一样运行npm install 的时候,突然报错。错误情况如下:npm ERR! Cannot read property 'match' of undefinednpm ERR! A complete log of this run can be found in:npm ERR! C:\Users\user\AppData\Roaming\npm-cache\_logs...https://blog.csdn.net/Jane_96/article/details/81451759先参考上面的进行处理。

如果不成功的话,可能是webpack版本太高导致的。

将ts-loader 版本改为 3.5.0

npm i ts-loader@3.5.0

参考链接:Module build failed: TypeError: Cannot read property 'afterCompile' of undefined · Issue #729 · TypeStrong/ts-loader · GitHub


版权声明:本文为qq_34539486原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/qq_34539486/article/details/121165561
文章导航
←Ruby连Mysql数据库
python中最常用的映射类型的典型代表_Python 的映射数据类型有哪些?零基础小白入门学习必看...→

Copyright © 2022 源码巴士  鲁ICP备19024253号-1