Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Windows Issues #1

Closed
raholland79 opened this issue Oct 28, 2020 · 4 comments
Closed

Windows Issues #1

raholland79 opened this issue Oct 28, 2020 · 4 comments

Comments

@raholland79
Copy link

raholland79 commented Oct 28, 2020

EDIT: node version 14.15.0

Scripts set NODE_ENV the unix way. Windows would be set NODE_ENV=developement. I THINK separating the env variable and concurrently bit with ; should work, but is failing for me.

To test I removed the NODE_ENV part and get the following when hitting localhost:3000

Cannot find module ./App.tsx

image

@ryanflorence
Copy link
Member

I need to brush up on windows dev :|

Can you try implementing cross-env? https://www.npmjs.com/package/cross-env

@kevinbailey25
Copy link

Installed cross-env and updated my start script to

cross-env NODE_ENV=development concurrently \"remix run\" \"tsc -b -w\" \"nodemon --ignore app server.js\"

Seems to work, but I get the same error that is posted above when I try to navigate to http://localhost:3000/

image

@raholland79
Copy link
Author

Yes, cross-env will fix the environment issue but the other error remains.

@ryanflorence
Copy link
Member

We found the problem, fix will be out in 0.6.2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants