当前位置:网站首页>node:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module ‘./scope‘
node:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module ‘./scope‘
2022-08-02 02:45:00 【益达木咸醇】
报错信心如下:
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module ‘./scope’
Require stack:
- D:…\node_modules\ajv-formats\node_modules\ajv\dist\compile\codegen\index.js
- D:…\node_modules\ajv-formats\dist\limit.js
- D:…\node_modules\ajv-formats\dist\index.js
- D:…\node_modules\eslint-webpack-plugin\node_modules\schema-utils\dist\validate.js
- D:…\node_modules\eslint-webpack-plugin\node_modules\schema-utils\dist\index.js
- D:…\node_modules\eslint-webpack-plugin\dist\options.js
- D:…\node_modules\eslint-webpack-plugin\dist\index.js
- D:…\[email protected]\cli-plugin-eslint\index.js
- D:…\[email protected]\cli-service\lib\Service.js
- D:…\[email protected]\cli-service\bin\vue-cli-service.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (D:…\node_modules\ajv-formats\node_modules\ajv\dist\compile\codegen\index.js:5:17)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘D:\…\node_modules\ajv-formats\node_modules\ajv\dist\compile\codegen\index.js’,
‘D:\…\node_modules\ajv-formats\dist\limit.js’,
‘D:\…\node_modules\ajv-formats\dist\index.js’,
‘D:\…\node_modules\eslint-webpack-plugin\node_modules\schema-utils\dist\validate.js’,
‘D:…\node_modules\eslint-webpack-plugin\node_modules\schema-utils\dist\index.js’,
‘D:\…\node_modules\eslint-webpack-plugin\dist\options.js’,
‘D:\…\node_modules\eslint-webpack-plugin\dist\index.js’,
‘D:\…\node_modules\@vue\cli-plugin-eslint\index.js’,
‘D:\…\node_modules\@vue\cli-service\lib\Service.js’,
‘D:\…\node_modules\@vue\cli-service\bin\vue-cli-service.js’
]
}
发生时机:刚刚npm install之后使用npm run serve启动项目报了这个错误。
原因(猜测):应该是npm install的时候因为网络或者其他原因导致某些npm包遗漏或者没下载下来。
解决:
删除node_modules文件夹和生成的package-lock.json,然后重新npm install再启动项目。
边栏推荐
- Analysis of the status quo of digital transformation of manufacturing enterprises
- 使用self和_(下划线)的区别
- Nanoprobes多组氨酸 (His-) 标签标记:重组蛋白检测方案
- [Unity entry plan] 2D Game Kit: A preliminary understanding of the composition of 2D games
- AcWing 1053. 修复DNA 题解(状态机DP、AC自动机)
- 【LeetCode】20.有效的括号
- 【LeetCode】102.二叉树的层序遍历
- Chrome浏览器无法加载已解压的.crx文件的解决办法
- Outsourcing worked for three years, it was abolished...
- Good News | AR opens a new model for the textile industry, and ALVA Systems wins another award!
猜你喜欢
随机推荐
四元数、罗德里格斯公式、欧拉角、旋转矩阵推导和资料
20. 用两个栈实现队列
TKU remembers a single-point QPS optimization (I wish ITEYE is finally back)
OC中成员变量,实例变量和属性之间的区别和联系
OC中new和init的区别
Swift运行时(派发机制)
使用self和_(下划线)的区别
The state status is displayed incorrectly after the openGauss switch
[Server data recovery] Data recovery case of server Raid5 array mdisk disk offline
【LeetCode】102.二叉树的层序遍历
ALCCIKERS Shane 20191114
BioVendor Human Club Cellular Protein (CC16) Elisa Kit Research Fields
周鸿祎称微软抄袭,窃取360安全模式
【web】Understanding Cookie and Session Mechanism
记一个gorm初始化的坑
OC和Swift语言的区别
cadence landscape bindkey
The principle and code implementation of intelligent follower robot in the actual combat of innovative projects
Nanoprobes丨1-巯基-(三甘醇)甲醚功能化金纳米颗粒
接口测试神器Apifox究竟有多香?









