错误的原因是什么?
终端:找不到node_modules/@types/moment-timezone/index.d.ts‘。
发布于 2020-11-03 17:06:07
可能是错过了js npm的时刻。请尝试以下解决方案。
在你的项目中安装moment js npm。
npm i moment 或
install npm发布于 2020-11-03 17:24:29
更改package.json文件中的代码。
从您的目录中删除node_modules和package-lock.json。
然后更改版本并运行npm install。
"@types/moment-timezone": "^0.5.7",至:
"moment-timezone": "0.5.23",https://stackoverflow.com/questions/64659240
复制相似问题