-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Svelte 3 weird error #1825
Comments
Hey! Svelte 3 has not been deployed yet, so you are still using version 2 for the compiler there I'm gonna close as we will deploy this tonight and please re open if you still have issues tomorrow |
OK makes sense, I was too impatient! 😄 I don't know if it changes anything, but I had the same error with the deployed branch at http://pr1820.cs.lbogdan.tk/s/z2l9zqv73x though. |
Makes sense because it's using the old template with version two of the svelte We check what version svelte is in to show the accurate compiler :/ I will try your thing as soon as it's live and let you know :) |
Hey! Updated with the new template I get an error in the module |
OK, then something is wrong on my module. I've actually noticed this behavior as well when manually importing the Just to share what I understand: when importing a Svelte shared module in a Svelte application, it should directly read the source file (the one pointed by the Don't know if it makes sense :) |
OHHH! So we get these things from unpkg and that always redirects to the main in the package.json |
AH yes, I understand better now 🙂 How complex would it be to detect the |
Hey @SaraVieira, I'm still stuck on this and I can't use CodeSandbox to demo my component 😢 Do you have any idea on how CodeSandbox could detect the |
I've just tried the new Svelte 3 template and I get a weird error:
Cropper component is not defined
(Cropper is my component coming from a npm package).Is it related to codesandbox or the way the component is exported?
Demo: https://codesandbox.io/s/z2l9zqv73x
The text was updated successfully, but these errors were encountered: