-
After take pull from GitHub, I run the development server but encountered the following error: "Uncaught SyntaxError: Identifier '__vite__injectQuery' has already been declared." Despite searching a lot, I have been unable to find a solution. Can anyone assist me on how to resolve this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Even I do not pull anything, I am having the same issue, please help. |
Beta Was this translation helpful? Give feedback.
-
@mdpinar I've solved this issue. I review all of my component and noticed that i was importing something from vite that was causing error. I remove that line and everything started working smoothly. I hope it will help you |
Beta Was this translation helpful? Give feedback.
-
Faced this issue in my SvelteKit project. Due to a similar reason as the accepted answer above, whereby I had unintentionally added an unwanted/erroneous import in one of my files. In my case, it was in a .svelte file, and the import line that once removed led to the issue being resolved was this: |
Beta Was this translation helpful? Give feedback.
@mdpinar I've solved this issue. I review all of my component and noticed that i was importing something from vite that was causing error. I remove that line and everything started working smoothly. I hope it will help you