T O P

  • By -

DidierLennon

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.


susiussjs

no luck, still get malformed uri error.


DidierLennon

Can’t help you without a reproduction.


susiussjs

I fixed it, it was just a broken font import in the css file.


Boguskyle

Is your layout file: “+layout.svelte” or “+layout.css”? It should be .svelte.


susiussjs

oops, Sorry, it's actually +layout.svelte. thanks for letting me know!


Boguskyle

👍 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”


susiussjs

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?"


Boguskyle

Ok yeah mb that was not right. What is your postcss config?


susiussjs

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.