Redwood: Followed tutorial on windows, failed to compile

Created on 11 Mar 2020  ·  5Comments  ·  Source: redwoodjs/redwood

image

bu2-confirmed kinbug

Most helpful comment

I can confirm the issue on Windows. It is not related to the route path though as it is already happening in the initial generation (before even adding the route).

All 5 comments

possible hint, something doesn't seem right here:

image

notice the path given on the home route... seems to be the directory of the git executable for some reason. weird, my project isn't even on the same drive.

I can confirm the issue on Windows. It is not related to the route path though as it is already happening in the initial generation (before even adding the route).

@peterp We're using path as a variable name which clobbers the actual path library in some cases...could be this is causing issues on Windows? https://github.com/redwoodjs/redwood/blob/master/packages/cli/src/commands/generate/commands/page.js#L57

This is now released in v0.2.2, thanks for letting us know about this!

image

@peterp awesome job, thanks for the quick response. i'll be sure to check it out.

Was this page helpful?
0 / 5 - 0 ratings