typescript@4.4 or greater breaks build command #255
Comments
Seems to be an upstream issue with |
It's actually an upstream issue with |
The typescript version 4.3.5 in the script is making npm unable to resolve dependency versions as you could see here :
|
@kaisermann Did svelte-preprocess bump its peerdep on TypeScript without marking it as a breaking change? |
Yes, |
That's an error from my part, will fix later today 🙈 |
Fixed on 4.9.2 |
@dummdidumm Is the issue still happening 👀 ? Tried locally: |
The template currently pins TypeScript 4.3.5, because of this issue with the latest 4.4. Once 4.4.3 is released, we can undo the pin and close this issue. The problem with svelte-preprocess's peerdep on TypeScript was an unrelated issue that prevented the workaround currently in place for this issue from working. |
Hello everyone,
somebody in the discord had issues with getting svelte to build after setting up the default template the recommended way.
I could produce his troubles with this process:
the build command neither errors out nor finishes, and instead just gets stuck.
after some tinkering I found out that this could be fixed by installing an earlier version of typescript.
npm install typescript@4.3.5
is the last version that leaves the build command unbroken.as this is the recommended way to set up typescript, I think this is quite a severe problem, as for some users this might be their first encounter with svelte and could leave a bad first impression.
The text was updated successfully, but these errors were encountered: