#says it can't find the module but it's showing?
13 messages · Page 1 of 1 (latest)
How are your aliases configured?
This is in my layout file btw.
Will show now
{
"extends": "astro/tsconfigs/strict",
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "react",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"@/components/*": ["src/components/*"]
}
}
}
Hmm, that seems like it should work. Have you tried simply restarting the editor perhaps?
hmm, not a full one, only refreshes. trying now
Slightly different error now:
File name '/Users/private/Documents/GitHub/blurp-astro/src/components/Sidebar/Sidebar.astro.tsx' differs from already included file name '/Users/private/Documents/GitHub/blurp-astro/src/components/sidebar/Sidebar.astro.tsx' only in casing.
The file is in the program because:ts(1149)
Seems to be slapping on a .tsx to the end in the errors, but the file is called Sidebar.astro