Open regular command prompt.
yarn build
at the root of the reporeact-native run-windows
Playground project compiles, metro bundler is started and the app launches successfully
Error in the command window at the last step before installing/deployment of the app:
Failed to deploy: Fail to check the installed app, maybe developer mode is off on Windows
Developer mode is ON in Windows settings. The only way to get around this was to retry with admin prompt and it worked.
@harinikmsft You've updated the readme (thank you). I assume you want this issue to track removing the elevation requirement?
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 14 days of this comment.
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 14 days of this comment.
I have the same issue, after I run it in a admin cmd, then it works, so the message should be more clear about this. Now the current error message is misunderstand.
same error, running from VS code terminal.
The error message should be clear why.
脳 Failed to deploy: Fail to check the installed app, maybe developer mode is off on Windows
Running the project as an Administrator fixed the problem for me
Getting the same failure, except with the following error:
Add-AppxPackage : Deployment failed with HRESULT: 0x80073D1F, Remote drives are not supported
This is happening because I'm developing in MacOS and testing on a Windows VM (Parallels), with the Mac repo access happening through a network drive (Z:).
Any suggestions on workarounds/fixes? I think this might become a common issue for Mac developers trying to develop windows apps
@parksj10 I don't think this issue from last October really captures your scenario. Can you please log a new issue, in particular following the template steps to capture your environment so we can dig into the interaction with your macOS config?
Most helpful comment
Running the project as an Administrator fixed the problem for me