Error [ERR_REQUIRE_ESM]: require() of ES Module 。。。not supported
时间:2022-09-25 00:30:00
转载链接https://blog.csdn.net/panderboy/article/details/122099158
一般由于目前使用依赖版本过高,请将相应的依赖版本降低。
1.先卸载当前依赖 npm uninstall xxx,
2.然后安装指定版本的依赖性 npm i xxx@versionNum --save
