FrontendMasters/remix-fundamentals

node dev doesn't work on Windows

AndyCormack opened this issue ยท 6 comments

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.

works for me

image

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

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

same here ๐Ÿ˜ข

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.

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