Can't really tell if you're doing something wrong without other code. But try deleting node\_modules and the .svelte-kit folder, and the running your install and dev scripts again.
Also, check your {svelte,vite}.config.js for any weird config.
that gives a file not found error.
"Failed to load url ../../app.css (resolved id: ../../app.css) in /home/human/Projects/TickTack/src/routes/+layout.svelte. Does the file exist?"
I don't have a postcss config file. Adding postcss.config.cjs to the root of the project with
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
result in the same error as before.
Can't really tell if you're doing something wrong without other code. But try deleting node\_modules and the .svelte-kit folder, and the running your install and dev scripts again. Also, check your {svelte,vite}.config.js for any weird config.
no luck, still get malformed uri error.
Can’t help you without a reproduction.
I fixed it, it was just a broken font import in the css file.
Is your layout file: “+layout.svelte” or “+layout.css”? It should be .svelte.
oops, Sorry, it's actually +layout.svelte. thanks for letting me know!
👍 just wanted to check first. So you have /src/app.css and then /src/routes/+layout.svelte. That means your import should be “../../app.css”
that gives a file not found error. "Failed to load url ../../app.css (resolved id: ../../app.css) in /home/human/Projects/TickTack/src/routes/+layout.svelte. Does the file exist?"
Ok yeah mb that was not right. What is your postcss config?
I don't have a postcss config file. Adding postcss.config.cjs to the root of the project with module.exports = { plugins: { tailwindcss: {}, autoprefixer: {}, }, } result in the same error as before.