You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
S E:\project\cesiumosgb> yarn dev
yarn run v1.22.19
$ vite
failed to load config from E:\project\cesiumosgb\vite.config.ts
error when starting dev server:
TypeError: CopyPlugin is not a function
at file:///E:/project/cesiumosgb/vite.config.ts.timestamp-1682657826482-cbc776d5aa0aa.mjs:35:5
at ModuleJob.run (node:internal/modules/esm/module_job:197:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:337:24)
at async loadConfigFromBundledFile (file:///E:/project/cesiumosgb/node_modules/vite/dist/node/chunks/dep-a178814b.js:64414:21)
at async loadConfigFromFile (file:///E:/project/cesiumosgb/node_modules/vite/dist/node/chunks/dep-a178814b.js:64296:28)
at async resolveConfig (file:///E:/project/cesiumosgb/node_modules/vite/dist/node/chunks/dep-a178814b.js:63904:28)
at async _createServer (file:///E:/project/cesiumosgb/node_modules/vite/dist/node/chunks/dep-a178814b.js:63190:20)
at async CAC.<anonymous> (file:///E:/project/cesiumosgb/node_modules/vite/dist/node/cli.js:733:24)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
错误信息
我的代码
The text was updated successfully, but these errors were encountered: