vitejs / vite-plugin-react-swc

Speed up your Vite dev server with SWC
MIT License
831 stars 54 forks source link

[vite] Internal server error: Bindings not found. #113

Closed Jeyaprabakar01 closed 1 year ago

Jeyaprabakar01 commented 1 year ago

I followed all the solutions mentioned in the earlier issue, which is similar to this. still getting the same error. I had some issues with my laptop's Windows OS, so I reinstalled it. After that, I only had this issue. before the vite-SVC project worked well. What can I do to resolve this issue?

react-svc

Screenshot 2023-05-30 192118

ArnaudBarre commented 1 year ago

So you still have the error deleting the node_modules and package-lock and then reinstall?

Jeyaprabakar01 commented 1 year ago

So you still have the error deleting the node_modules and package-lock and then reinstall?

yes

ArnaudBarre commented 1 year ago

Which package manager are you using? Have you tried with another package manager?

Jeyaprabakar01 commented 1 year ago

currently I am using pnpm. Is problem with package manager?

Jeyaprabakar01 commented 1 year ago

Which package manager are you using? Have you tried with another package manager?

I tried with npm also. it throwed same error

ArnaudBarre commented 1 year ago

Maybe a regression with swc v1.3.61. Can you check to override with an previous version?

Jeyaprabakar01 commented 1 year ago

Maybe a regression with swc v1.3.61. Can you check to override with an previous version?

still throws same error

and here's my os, node version & pnpm version

node - 18.16.0 pnpm - 8.6.0

Edition Windows 11 Home Version 22H2 Installed on ‎30/‎05/‎2023 OS build 22621.1778

Jeyaprabakar01 commented 1 year ago

I deleted and installed the swc stuffs repeately. but finally worked and thank you for the support

yisumay commented 1 year ago

hi,I have got the same problem, can you tell me how to resolve it? I also deleted and installed the swc stuffs repeately, but it did not work

codemaker2015 commented 5 months ago

Try to install the optional dependencies of SWC:

npm i -D @swc/cli @swc/core