windows user
lanxxg opened this issue · 2 comments
lanxxg commented
Windows command prompts will choke when set environment variables with NODE_ENV=development cosmos
like that,use cross-env
for all platforms,maybe
ovidiuch commented
Thanks @lanxxg for pointing this out. I removed NODE_ENV from package scripts altogether b7771c1 and made Cosmos set it implicitly like Create React App does react-cosmos/react-cosmos@76bd0f7. Let me know if this fixes your issue.
lanxxg commented
I've tried load flatris in my new project and run npm run cosmos
,it works. Thank you.