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
error when starting dev server:
TypeError: swc.vite is not a function
at file:///Users/shenhaoliang/Desktop/jgy/workbench/vite.config.ts.js?t=1649945077486:62:9
at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:337:24)
at async importModuleDynamicallyWrapper (node:internal/vm/module:437:15)
at async loadConfigFromFile (/Users/shenhaoliang/Desktop/jgy/workbench/node_modules/vite/dist/node/chunks/dep-611778e0.js:61416:31)
at async resolveConfig (/Users/shenhaoliang/Desktop/jgy/workbench/node_modules/vite/dist/node/chunks/dep-611778e0.js:60962:28)
at async createServer (/Users/shenhaoliang/Desktop/jgy/workbench/node_modules/vite/dist/node/chunks/dep-611778e0.js:58813:20)
at async CAC. (/Users/shenhaoliang/Desktop/jgy/workbench/node_modules/vite/dist/node/cli.js:688:24)
version: unplugin-swc 1.3.0
The text was updated successfully, but these errors were encountered:
error when starting dev server:
TypeError: swc.vite is not a function
at file:///Users/shenhaoliang/Desktop/jgy/workbench/vite.config.ts.js?t=1649945077486:62:9
at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:337:24)
at async importModuleDynamicallyWrapper (node:internal/vm/module:437:15)
at async loadConfigFromFile (/Users/shenhaoliang/Desktop/jgy/workbench/node_modules/vite/dist/node/chunks/dep-611778e0.js:61416:31)
at async resolveConfig (/Users/shenhaoliang/Desktop/jgy/workbench/node_modules/vite/dist/node/chunks/dep-611778e0.js:60962:28)
at async createServer (/Users/shenhaoliang/Desktop/jgy/workbench/node_modules/vite/dist/node/chunks/dep-611778e0.js:58813:20)
at async CAC. (/Users/shenhaoliang/Desktop/jgy/workbench/node_modules/vite/dist/node/cli.js:688:24)
version: unplugin-swc 1.3.0
The text was updated successfully, but these errors were encountered: