-
Notifications
You must be signed in to change notification settings - Fork 25
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
Cannot find module when importing #1340
Comments
Well, thanks to ChatGPT I got it working by adding this to my vite.config.js |
I am also getting the I do not believe an alias replacement is the best solution in this case and recommend reopening this issue. This is for a sveltejs/[email protected] application built on linux |
Same issue here. I think that this has something todo with the module resolution of typescript. |
Should be fixed in v2.3.0, please update and confirm. Thanks! |
Working now correctly. Thank you |
Hey, my project is using Svelte/SvelteKit and when I import Giscus;
I am getting the warning that
Cannot find module '@giscus/svelte' or its corresponding type declarations.js(2307)
however, I can import it like this
import Giscus from 'C:/Users/o0/source/projects/mine/NazCodeLandSvelteKit/node_modules/@giscus/svelte/package/Giscus.svelte';
but I believe this is causing an issue for me when I try to deploy my project using VercelThe text was updated successfully, but these errors were encountered: