coding-allies / projects-platform-frontend

She's Coding Projects collaboration platform for womxn in tech.
http://projects.shescoding.org/#/
MIT License
9 stars 59 forks source link

PORT, SERVER_PORT not recognized command on Windows #155

Open partiallymisplaced opened 3 years ago

partiallymisplaced commented 3 years ago

https://github.com/shescoding/projects-platform-frontend/blob/bbe66b4c3e77e827841fa9566ad07ffe8d8cebb5/package.json#L25-L26

For Windows contributors, when running yarn start & yarn server, PORT & SERVER_PORT cause the following error:

'PORT' is not recognized as an internal or external command, operable program or batch file.

Check this on Stack Overflow for some clarity. If we do need to use them, I think we need to look into a cross-platform solution?

andreabecerrab commented 3 years ago

For windows and mac env "PORT=300" AND "SERVER_PORT=500" can be removed ir order to work, hey @Leyi-Li can you confirm this was added for linux env ?