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

node dev doesn't work on Windows #2

Closed AndyCormack closed 2 years ago

AndyCormack commented 2 years ago

Due to path outputting \\ instead of / for paths on Windows this breaks currently, need to account for it in relativePath and fullPath.

I've just temp worked around it by adding a replace on the end of each .replace('\\', '/') but there's probably a cleaner way.

technologic808 commented 2 years ago

works for me

image

AndyCormack commented 2 years ago

My fault for not being more clear, I mean when you type an individual numbered exercise as the param. e.g. node dev 1

I get something like this until I tweaked the utils file image

technologic808 commented 2 years ago

Ah, I see. I can confirm that I am also getting the same error with this step

GiancarlosIO commented 2 years ago

same here 😢

dtauer commented 2 years ago

Sorry about this! We're working on a fix for the repo. In the meantime, running node dev (without specifying an exercise) should work. It will present you with a list (see screenshot above). You can use your arrow keys to select the exercise to run.

dtauer commented 2 years ago

This should be fixed now. We also removed the Node 14 requirement and now are requiring Node 16+