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
Astro v3.2.1
Node v20.8.0
System Windows (x64)
Package Manager npm
Output static
Adapter none
Integrations @astrojs/tailwind
@astrojs/svelte
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Possible Regression: This error only occurs with Astro 3.2.1 and not with 3.2.0
When running npm run dev and previewing the local page in a browser (Chrome, Edge, ...) the console reports a lot of errors:
Not allowed to load local resource: file:///C:/Workspace/myPage/src/components/myComponent.svelte?svelte&type=style&lang.css
Not allowed to load local resource: file:///C:/Workspace/myPage/src/components/components.svelte?svelte&type=style&lang.css
Not allowed to load local resource: file:///C:/Workspace/myPage/node_modules/@astrojs/tailwind/base.css
This error occurs for all CSS Styles.
This bug cannot easily be reproduced in the StackBlitz environment, since this will not generate local file urls, like on a local windows machine.
What's the expected result?
I would expect the page to work without problems exactly the way it does in astro 3.2.0. Current workaround is a downgrade to astro 3.2.0
@falco467 can you show what the <head> HTML look like completely? It’s likely due to a change I made and I don’t have a windows machine at hand. That would help debugging this easier.
Getting same messages
Astro v3.2.1
Node v18.17.1
System Windows (x64)
Package Manager npm
Output server
Adapter @astrojs/netlify
Integrations @astrojs/tailwind
@astrojs/sitemap
@astrojs/react
Not allowed to load local resource: file:///D:/1%20Projects/A%20Latu%20Solutions/LATU%20SOLUTIONS/ASTRO%20SITES/astro-licway/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/astro/components/viewtransitions.css
localhost/:1 Not allowed to load local resource: file:///D:/1%20Projects/A%20Latu%20Solutions/LATU%20SOLUTIONS/ASTRO%20SITES/astro-licway/src/layouts/Layout.astro?astro&type=style&index=0&lang.css
localhost/:1 Not allowed to load local resource: file:///D:/1%20Projects/A%20Latu%20Solutions/LATU%20SOLUTIONS/ASTRO%20SITES/astro-licway/node_modules/.pnpm/@astrojs[email protected][email protected][email protected]/node_modules/@astrojs/tailwind/base.css
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Possible Regression: This error only occurs with Astro 3.2.1 and not with 3.2.0
When running
npm run dev
and previewing the local page in a browser (Chrome, Edge, ...) the console reports a lot of errors:This error occurs for all CSS Styles.
This bug cannot easily be reproduced in the StackBlitz environment, since this will not generate local file urls, like on a local windows machine.
What's the expected result?
I would expect the page to work without problems exactly the way it does in astro 3.2.0. Current workaround is a downgrade to astro 3.2.0
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-cyjuhk-wuuptl?file=src%2Fpages%2Findex.astro
Participation
The text was updated successfully, but these errors were encountered: