question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to Run on Windows

See original GitHub issue
  1. Cloned the repository

  2. ran yarn install

  3. 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.

  4. Changed the cp commands to copy so they would work on windows.

  5. 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.

  6. Changed the / in package.json to \

  7. 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.

  8. Added SET before NODE_ENV

  9. No errors on running yarn start this time but also appears that nothing has started

  10. Run yarn cypress:open and try running a test

  11. Get errors due to app not starting

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:23 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
LucasL94commented, Jun 15, 2020

@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 fixed

2reactions
frogcatchercommented, Jun 15, 2020

Thank you kevinold and everyone! Mine is working now. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the "This App Can't Run on Your PC" Error in ...
1. Check the App's Version · 2. Run the App in Compatibility Mode · 3. Run a Copy of the Executable File ·...
Read more >
How to Fix “This app can't run on your PC” in Windows 10
Right-click the app file and select Properties. Go to the Compatibility tab in Properties. Under the Settings section, enable the Run this ...
Read more >
Top 10 Solutions to Fix This App Can't Run on Your PC in Win ...
Step 1: Run Command Prompt as administrator. Step 2: Type sfc /scannow and press Enter. Please wait patiently until verification 100% completes.
Read more >
This App Can't Run on Your PC: Easy Fixes for Windows 11 ...
How do you fix this app can't run on your PC? · 1. Check the System Type · 2. Create an administrator account...
Read more >
This app can't run on your PC - Microsoft Community
To fix it, go to the app's properties and enable Compatibility mode. Right-click the executable file of the app and select Properties. Open...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found