运行安装后提示错误Error: Cannot find module 'ajv/dist/core' #391
mfbztnk-png
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
完整错误:failed to load config from E:\demo\fileEditorDemo\editor\vite.config.ts
error when starting dev server:
Error: Cannot find module 'ajv/dist/core'
Require stack:
Error: Cannot find module 'ajv/dist/core'
Require stack:
at Module._resolveFilename (node:internal/modules/cjs/loader:1420:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1058:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1063:22)
at Module._load (node:internal/modules/cjs/loader:1226:37)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:244:24)
at Module.require (node:internal/modules/cjs/loader:1503:12)
at require (node:internal/modules/helpers:152:16)
at Object. (E:\demo\fileEditorDemo\editor\node_modules\ajv-draft-04\dist\index.js:4:16)
at Module._compile (node:internal/modules/cjs/loader:1760:14)
Beta Was this translation helpful? Give feedback.
All reactions