FrontendMasters / remix-fundamentals

Remix enables you to build fantastic user experiences for the web and feel happy with the code that got you there. Get a jumpstart on Remix with this workshop.
https://frontendmasters.com/workshops/remix/
Other
258 stars 115 forks source link

TypeError: Value of "this" must be of type URLSearchParams #29

Closed muhammadmalik645 closed 2 months ago

muhammadmalik645 commented 2 months ago

I am getting this error whenever I node dev any exercise

Screenshot 2024-09-06 195420

aabdullaharif commented 2 months ago

I fixed this by navigating to the exercise's directory, installing @remix-run/web-fetch@4.3.4 with npm i, and then running the exercise again.

fmkguy commented 2 months ago

For me, it was an issue because I was running Node v20. Once I updated to a more recent version of Remix (still v1--v1.19.3--for the sake of trying not to introduce breaking changes) everything worked fine.

I found this issue helpful: https://github.com/remix-run/remix/issues/6118