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.

au run fails when the app wasn't generated by that PC.

See original GitHub issue

I’m submitting a bug report

  • Library Version: major

Please tell us about your environment:

  • Operating System: Windows [10]
  • Node Version: 4.4.7
  • NPM Version: 3.8.9
  • Language: ESNext

Current behavior: When uploading a repo to GitHub, I ignore node_modules as usual. When pulling the project, followed by: npm install && au run It will lead with an error and won’t run. The only way I found to get the app to work is by using au new to generate a new project and then replacing the SRC files…

  • What is the expected behavior? To run
  • What is the motivation / use case for changing the behavior? logic

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:46 (14 by maintainers)

github_iconTop GitHub Comments

7reactions
jaeko44commented, Sep 5, 2016

@EisenbergEffect People are still running into issues here so i think this should be re-oppened. The NPM issue was fixed by the latest NPM. However moving from Ubuntu -> Windows, Mac -> Windows or the opposite causes issues. As seen above.

This is mainly caused by aurelia.json’s not being able to read ‘/’ in windows, and ’ \ \ ’ in Mac/Linux.

1reaction
alexisargyriscommented, Sep 5, 2016

@jaeko44 I’m afraid it didn’t work:

  • I’m on npm 3.10.6,
  • did (once again) a ‘npm install’,
  • replaced in aurelia.json all occurences of ‘/’ (Mac) with ‘\’ (Win)

and I still get exactly the same errors. Am I doing something wrong? Is there any other idea?

Meantime, I’ll try next to install in a clean directory to see if that will make any difference.

[later]

Yes, a clean installation worked! So here’s a possible checklist of things currently necessary when moving from Mac to Win:

  • latest npm (i.e. npm install -g npm)
  • latest aurelia-cli (i.e. npm install aurelia-cli -g). In my case this failed for some reason so I had to remove the directory manually and re-install).
  • latest app source files in a clean directory
  • replace in aurelia_project/aurelia.json all occurences of ‘/’ (Mac) with ‘\’ (Win) as suggested by @jaeko44 above
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 ...
Right-click the app's executable file and select Properties. Open the Compatibility tab, check Run this program in compatibility mode for, and ...
Read more >
Real Fixes: This app can't run on your PC in Windows 10
Troubleshooting Steps to Fix "This app can't run on your PC" Error in Windows 10 · Fix 1. Download the Right Version of...
Read more >
Fix This App Can't Run On Your PC Error In Windows 10
This error is a compatibility error. The app you're trying to install is incompatible with Windows 10. You might also see this error...
Read more >
Error "The operating system is not presently configured to run ...
Error "The operating system is not presently configured to run this application" when trying to use Access Database Engine ODBC interfaces.
Read more >
How to fix this app can't run on your PC error
Methods to fix “This app can't run on your PC” error: · Method 1: Make a copy of the .exe files you are...
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