cypress 执行启动npm一直停在"fetchMetadata: sill resolveWithNewModule"的问题
PS D:\ema_cypress> npx cypress cache path C:\Users\antony\AppData\Local\Cypress\Cache
node运行js文件时报错 node 01.js 直接找到C:\Users\antony\AppData\Local\npm-cache 清空后再次打开终端运行时正常
internal/modules/cjs/loader.js:905 throw err
解决npm一直停在"fetchMetadata: sill resolveWithNewModule"的问题
有的资料说node版本是旧的导致的,可我的node是v12.16,所以说不是这个原因
换成淘宝的源
npm config set registry https://registry.npm.taobao.org
配置后可通过下面方式来验证是否成功
npm config get registry
最后问题解决
javascript
posted on 2022-09-18 10:11 sunny_2016 阅读(774) 评论(0) 收藏 举报
浙公网安备 33010602011771号