TypeError _interopRequireDefault is not a function

原因: babel编译错误。

解决方法:

1.重新下载node-module

2.添加@babel/runtime

3.使用yarn下载依赖

posted @ 2022-08-19 11:42  妄欢  阅读(754)  评论(0编辑  收藏  举报