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
PS G:\anyfork-common-admin\vue-anyfork-admin> pnpm dev
> [email protected] dev G:\anyfork-common-admin\vue-anyfork-admin
> vite
failed to load config from G:\anyfork-common-admin\vue-anyfork-admin\vite.config.ts
error when starting dev server:
file:///G:/anyfork-common-admin/vue-anyfork-admin/node_modules/.pnpm/registry.npmmirror.com+@[email protected]/node_modules/@soybeanjs/vite-plugin-vue-page-route/dist/index.mjs:49
import { isMatch } from "micromatch";
^^^^^^^
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'micromatch';
const { isMatch } = pkg;
at ModuleJob._instantiate (node:internal/modules/esm/module_job:123:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:189:5)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:533:24)
at async loadConfigFromBundledFile (file:///G:/anyfork-common-admin/vue-anyfork-admin/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-abb4f102.js:66128:21)
at async loadConfigFromFile (file:///G:/anyfork-common-admin/vue-anyfork-admin/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-abb4f102.js:65979:28)
at async resolveConfig (file:///G:/anyfork-common-admin/vue-anyfork-admin/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-abb4f102.js:65575:28)
at async _createServer (file:///G:/anyfork-common-admin/vue-anyfork-admin/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-abb4f102.js:64846:20)
at async CAC.<anonymous> (file:///G:/anyfork-common-admin/vue-anyfork-admin/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/cli.js:743:24)
ELIFECYCLE Command failed with exit code 1.
The text was updated successfully, but these errors were encountered:
配置如下:
启动报错
The text was updated successfully, but these errors were encountered: