当前位置:网站首页>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再启动项目。
边栏推荐
- 790. 数的三次方根
- Moonbeam and Project integration of the Galaxy, bring brand-new user experience for the community
- 1688以图搜货
- AI目标分割能力,无需绿幕即可实现快速视频抠图
- OC中new和init的区别
- 记一次gorm事务及调试解决mysql死锁
- cocos中使用async await异步加载资源
- 接口测试神器Apifox究竟有多香?
- 2022牛客多校四_G M
- Talking about the "horizontal, vertical and vertical" development trend of domestic ERP
猜你喜欢
随机推荐
Flask 报错:WARNING This is a development server. Do not use it in a production deployment
(一)Redis: 基于 Key-Value 的存储系统
Pinduoduo leverages the consumer expo to promote the upgrading of domestic agricultural products brands and keep pace with international high-quality agricultural products
Entry name 'org/apache/commons/codec/language/bm/gen_approx_greeklatin.txt' collided
Nacos源码分析专题(二)-服务注册
JVM调优实战
Nanoprobes纳米探针丨Nanogold偶联物的特点和应用
使用self和_(下划线)的区别
【LeetCode】104.二叉树的最大深度
BI - SQL 丨 WHILE
analog IC layout-Environmental noise
Unable to log in to the Westward Journey
架构:分布式任务调度系统(SIA-Task)简介
ApiFox 基本使用教程(浅尝辄止,非广)
qt点云配准软件
29. 删除链表中重复的节点
【CNN记录】tensorflow slice和strided_slice
60 Feature Engineering Operations: Using Custom Aggregate Functions【Favorites】
【LeetCode】94.二叉树的中序遍历
Swift运行时(派发机制)