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
{{ message }}
Repository navigation
Unable to find css file when opening compodium #115
[vite] Internal server error: Failed to resolve import "C:Users_OneDriveDesktop_src//styles/main.css" from "@compodium/renderer.ts". Does the file exist?
Plugin: vite:import-analysis
File: @compodium/renderer.ts:2:9
1 | import CompodiumRoot from 'C:/Users/_/OneDrive/Desktop/_/node_modules/@compodium/core/dist/runtime/root.vue';
2 | import 'C:\Users\_\OneDrive\Desktop\_\src//styles/main.css';| ^
3 |
4 | import {createApp} from "vue";
at TransformPluginContext._formatLog (file:///C:/Users/_/OneDrive/Desktop/_/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:42499:41)
at TransformPluginContext.error (file:///C:/Users/_/OneDrive/Desktop/_/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:42496:16)
at normalizeUrl (file:///C:/Users/_/OneDrive/Desktop/_/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:40475:23)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async file:///C:/Users/_/OneDrive/Desktop/_/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:40594:37
at async Promise.all (index 1)
at async TransformPluginContext.transform (file:///C:/Users/_/OneDrive/Desktop/_/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:40521:7)
at async file:///C:/Users/_/OneDrive/Desktop/_/node_modules/vite-plugin-inspect/dist/shared/vite-plugin-inspect.BzUKaD4x.mjs:403:17
at async EnvironmentPluginContainer.transform (file:///C:/Users/_/OneDrive/Desktop/_/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:42294:18)
at async loadAndTransform (file:///C:/Users/_/OneDrive/Desktop/_/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:35735:27)
I am using vue (without nuxt) and I get this issue when trying to open the __compodium__/devtools/components route. I have followed the instructions, and I know it can find the CSS since it applies to rules to the rest of the app, it only breaks when I open/have Compodium.
Do I need to add my styles / CSS files to a config somewhere?
Activity
romhml commentedon Aug 21, 2025
This looks like a compatibility issue with windows. I don't own a windows machine but I'll try to look into it!
dotmot commentedon Sep 30, 2025
Hello, I'm having the same issue in a windows machine, are you planning in supporting windows?
romhml commentedon Sep 30, 2025
Yes, I'm working on other features as of now but I'm planning on looking into this issue.