Replies: 3 comments 10 replies
-
|
I don't get these errors in my original repo. I installed svelte-kit from scratch into the new monorepo package and selectively copied files from the old repo in, but I still get the problem. So either copying svelte config files to a new directory can break things, or it's copying to a pnpm package directory that breaks things. |
Beta Was this translation helpful? Give feedback.
-
|
I had similar problems with the build step finding files within the node_modules folder, downgrading |
Beta Was this translation helpful? Give feedback.
-
|
Some (maybe all) are related to postcss generating wrong paths into sourcemap because svelte-preprocess is not passing a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've spent the day trying to convert my sveltekit repo to a monorepo. After copying my former repo to a package,
yarn run dev --gives me the following errors:However, if I place
"mapRoot": "whatever"intotsconfig.json, then I get vastly more such errors, so it's clear that it's happy with many source maps despite the above errors.I'm using
adapter-node, and here's mytsconfig.json:{ "extends": "./.svelte-kit/tsconfig.json", "compilerOptions": { "strict": true, "pretty": true, "noUnusedLocals": true, "noUnusedParameters": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, "noEmitOnError": true } }What might cause this problem?
Beta Was this translation helpful? Give feedback.
All reactions