Unable to Run on Windows
See original GitHub issue-
Cloned the repository
-
ran yarn install
-
On running yarn start i got the below error:
$ cp data/database-seed.json data/database.json 'cp' is not recognized as an internal or external command, operable program or batch file.
-
Changed the cp commands to copy so they would work on windows.
-
Then got the below error:
$ copy data/database-seed.json data/database.json data\database-seed.json The file cannot be copied onto itself. 0 file(s) copied.
-
Changed the / in package.json to \
-
Then got the below error:
NODE_ENV=development concurrently yarn:start:react yarn:start:api 'NODE_ENV' is not recognized as an internal or external command, operable program or batch file.
-
Added SET before NODE_ENV
-
No errors on running yarn start this time but also appears that nothing has started
-
Run yarn cypress:open and try running a test
-
Get errors due to app not starting
Issue Analytics
- State:
- Created 3 years ago
- Comments:23 (10 by maintainers)
Top GitHub Comments
@frogcatcher the pull request is code that has been sent to a specific branch, that’s where it’s tested and prepare before merging to the main one. The branch it was sent to is that one that I mentioned before. You can look for the different branches while being on the
code
tab@ahoadshieldpay that might be happening because if you check the pull request, there are new dependencies added in the package.json. Try running
yarn install
again and it should be fixedThank you kevinold and everyone! Mine is working now. 😃