Skip to content
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

After remove & reinstall "node_modules" & "package-lock.json" get "TypeError: __vite_ssr_import_2__.default is not a function" #2376

Closed
HeisUser opened this issue Jul 27, 2024 · 4 comments

Comments

@HeisUser
Copy link

What is the location of your example repository?

No response

Which package or tool is having this issue?

Hydrogen

What version of that package or tool are you using?

Latest version

What version of Remix are you using?

No response

Steps to Reproduce

on Localhost running
Screenshot 2024-07-27 at 15 42 56

Expected Behavior

After remove & reinstall then run localhost "node_modules" & "package-lock.json" get "TypeError: vite_ssr_import_2.default is not a function" error message

Actual Behavior

TypeError: vite_ssr_import_2.default is not a function

@frandiox
Copy link
Contributor

Can you repro this in an unmodified project created with Hydrogen CLI? If not, can you submit a small reproduction?

It might be related to some inadvertent dependency update.

@theocerutti
Copy link

I had exactly the same issue.
Just delete your remix.d.ts

@wizardlyhel
Copy link
Contributor

Closed. Not enough information to reproduce problem.

@HeisUser
Copy link
Author

Closed. Not enough information to reproduce problem.

Sure... Next time I will upload to github and share its link to everyone to examine and advice on the errors.
I just learnt how to using github now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants