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
上午10:45:23 [vite] Internal server error: Cannot find module '/Users/zhangyanlong/WorkSpace/BAILI/vite-project/node_modules/vant/lib/ssr.js'
Plugin: vite:style-import
File: /Users/zhangyanlong/WorkSpace/BAILI/vite-project/src/components/HelloWorld.vue
at createEsmNotFoundErr (internal/modules/cjs/loader.js:912:15)
at finalizeEsmResolution (internal/modules/cjs/loader.js:905:15)
at resolveExports (internal/modules/cjs/loader.js:437:14)
at Function.Module._findPath (internal/modules/cjs/loader.js:477:31)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:872:27)
at Function.resolve (internal/modules/cjs/helpers.js:94:19)
at resolveNodeModules (/Users/zhangyanlong/WorkSpace/BAILI/vite-project/node_modules/vite-plugin-style-import/dist/index.js:49:61)
at transformComponentCss (/Users/zhangyanlong/WorkSpace/BAILI/vite-project/node_modules/vite-plugin-style-import/dist/index.js:293:21)
at TransformContext.transform (/Users/zhangyanlong/WorkSpace/BAILI/vite-project/node_modules/vite-plugin-style-import/dist/index.js:190:40)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
The text was updated successfully, but these errors were encountered:
刚使用vite结合vant起了个项目,按照官方文档按需加载启动项目报错,请教大佬是什么原因
安装版本:
vite-plugin-style-import "1.4.0"
vite "2.6.14"
报错信息如下:
The text was updated successfully, but these errors were encountered: