remix-fundamentals icon indicating copy to clipboard operation
remix-fundamentals copied to clipboard

node dev doesn't work on Windows

Open AndyCormack opened this issue 3 years ago • 3 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.

AndyCormack avatar Aug 02 '22 15:08 AndyCormack

works for me

image

technologic808 avatar Aug 02 '22 16:08 technologic808

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

AndyCormack avatar Aug 02 '22 23:08 AndyCormack

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

technologic808 avatar Aug 03 '22 07:08 technologic808

same here 😢

giancarlosisasi avatar Sep 28 '22 22:09 giancarlosisasi

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 avatar Oct 04 '22 13:10 dtauer

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

dtauer avatar Oct 04 '22 18:10 dtauer