-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'svelte' #6837
Comments
Is this #1450 (comment) confirmed?
|
So I switched the Although, from the previous issues, I understand this is not good/expected:
|
Does the same thing happen if you run If that's the case, I suggest trying to move |
cc'ing @ivanhofer for visibility as well 👋 |
@binajmen you can add vite.config.js export default defineConfig({
plugins: [sveltekit()],
+ ssr: {
+ noExternal: ['typesafe-i18n'],
+ },
})
|
@ivanhofer This solve the issue indeed 👍 I don't fully understand the impact though. Is there one? Is this more a workaround that a final solution? Should we continue to track the issue or can it be closed?
@Rich-Harris Unfortunately I'm unable to reproduce locally. I'm not sure why.. If you think it should be further investigated, I don't mind take the time (later this week) to create a small repro of my current project. This is non blocking so the milestone |
I would see this as a final solution. It does not really matter if you bundle
The issue is that Fly.io (and most other node hosting services) get rid of all
|
Then I can safely close this issue as it solves my problem 👍
In my case, based on some inspiration I found on the web (being a Docker beginner), I run:
Which gets rid of |
Describe the bug
I successfully deployed my SvelteKit on Fly.io (using the Node adapter).
Unfortunately, I got the following error:
Reproduction
Unfortunately, I'm unable to reproduce in local 😕
Is there a link with #1257 or #3137 or is it an issue with
typesafe-i18n
itself?Logs
No response
System Info
Severity
blocking all usage of SvelteKit
Additional Information
No response
The text was updated successfully, but these errors were encountered: