在安装NPM Faker后,Get找不到\ node_modules \ cypress \ bin \ bin \ cypress错误
在我的柏树项目中安装了NPM Faker后,尝试运行柏树时会出现以下错误。我看不到\ node_modules \ cypress \ bin \文件夹中的柏树。
我需要再次安装柏树还是有人知道如何解决这个问题?
internal/modules/cjs/loader.js:892
throw err;
^
Error: Cannot find module 'D:\Repo\ParcelManagementPortalUserApp\node_modules\cypress\bin\cypress'
←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:889:15)←[39m
←[90m at Function.Module._load (internal/modules/cjs/loader.js:745:27)←[39m
←[90m at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)←[39m
←[90m at internal/main/run_main_module.js:17:47←[39m {
code: ←[32m'MODULE_NOT_FOUND'←[39m,
requireStack: []
}
After installing npm faker in my cypress project, I get the following error when trying to run cypress. I cannot see the cypress inside \node_modules\cypress\bin\ folder.
Do I need to install cypress again or do anyone know how to resolve this, please?
internal/modules/cjs/loader.js:892
throw err;
^
Error: Cannot find module 'D:\Repo\ParcelManagementPortalUserApp\node_modules\cypress\bin\cypress'
←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:889:15)←[39m
←[90m at Function.Module._load (internal/modules/cjs/loader.js:745:27)←[39m
←[90m at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)←[39m
←[90m at internal/main/run_main_module.js:17:47←[39m {
code: ←[32m'MODULE_NOT_FOUND'←[39m,
requireStack: []
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
安装时似乎存在一些错误。重新安装纱线并解决问题。
Seems there were some errors when the installation. Reinstall the yarn and issue resolved.