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
An error occurs when viewing the “styled-flower” page:
[vite] Internal server error: document is not defined
at Module.injectStyles (C:\Users\Spell\Desktop\test-qwik-vanilla\node_modules\@vanilla-extract\css\injectStyles\dist\vanilla-extract-css-injectStyles.cjs.dev.js:14:19)
at inject (C:\Users\Spell\Desktop\test-qwik-vanilla\src\routes\styled-flower\flower.css.ts.vanilla.js:3:25)
at C:\Users\Spell\Desktop\test-qwik-vanilla\src\routes\styled-flower\flower.css.ts.vanilla.js:8:1
at async instantiateModule (file:///C:/Users/Spell/Desktop/test-qwik-vanilla/node_modules/vite/dist/node/chunks/dep-mCdpKltl.js:52650:5)
How to repeat:
Initiate the project using the “bun create qwik” command
Install “bun install” dependencies
Install “styled-vanilla-extract” library via “bun run qwik add styled-vanilla-extract” command
File Contents:
There is no provision for any modifications made by hand.
An error occurs when viewing the “styled-flower” page:
How to repeat:
File Contents:
There is no provision for any modifications made by hand.
vite.config.ts
Error screenshot:

Repository screenshot:

P.S.

If you put another vanilla-extract plugin for vite - “@vanilla-extract/vite-plugin”, this error disappears
The text was updated successfully, but these errors were encountered: