升级后报错?url 但是我找遍了代码也没有?url vite5.0是对的 5.3.3就报这个错 #17606
Replies: 2 comments
-
遇到了同样的问题,我用的是scss [vite:css] Could not load /Users/xiang/Desktop/workspace/koca-bpm/web/src/projects/admin-workflow-new/flow-designer/components/node-selector/index.module.scss?url (imported by node_modules/.pnpm/@[email protected]_vzltcxutujveo4yrdcwh7aorai/node_modules/@szkingdom.koca.assets/ui/es/components/table/src/ColumnAction.mjs): ?url is not supported with CSS modules. (tried to import "/Users/xiang/Desktop/workspace/koca-bpm/web/src/projects/admin-workflow-new/flow-designer/components/node-selector/index.module.scss?url") |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Pre-transform error: ?url is not supported with CSS modules. (tried to import "/Users/zq/work/node/zhx_vue/src/assets/styles/variables.module.scss?url")
1:26:55 PM [vite] Internal server error: ?url is not supported with CSS modules. (tried to import "/Users/zq/work/node/zhx_vue/src/assets/styles/variables.module.scss?url")
at LoadPluginContext.load (file:///Users/zq/work/node/zhx_vue/node_modules/.pnpm/vite@5.3.3_@types[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-CzJTQ5q7.js:35727:17)
at PluginContainer.load (file:///Users/zq/work/node/zhx_vue/node_modules/.pnpm/vite@5.3.3_@types[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-CzJTQ5q7.js:49555:17)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async loadAndTransform (file:///Users/zq/work/node/zhx_vue/node_modules/.pnpm/vite@5.3.3_@types[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-CzJTQ5q7.js:52349:22)
at async viteTransformMiddleware (file:///Users/zq/work/node/zhx_vue/node_modules/.pnpm/vite@5.3.3_@types[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-CzJTQ5q7.js:62173:24)
升级后报错这个东西 但是我找遍了代码也没有?url vite5.0是对的 5.3.3就报这个错
Beta Was this translation helpful? Give feedback.
All reactions