Closed oldoldman closed 3 years ago
@oldoldman can you confirm whether you've installed the dependencies? the instructions can be found here: http://aka.ms/rnw-deps You'll likely need to close the cmd/ps window after installing the dependencies and reopen a new one.
This issue lacks the environment info requested in the bug template. Please edit your issue report to add this information.
If you are using latest version:
npx react-native --version
:npx react-native run-windows --info
:Otherwise if --info
doesn't exist:
react-native -v
:npm ls rnpm-plugin-windows
:npm ls react-native-windows
:node -v
:npm -v
:yarn --version
: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've found a workaround , but it is not easy. I would like to suspend this issue. Thank you guys.
How did u solve it ?
Hack the build script which will detect the cl command line and call it later to compile the cpp files. The build system is complicated,so it is not an easy task. Update Roughly you can first locate the part which call vswhere, for example: findstr /ns vswhere *.js Comments the related logic Then find the part which call cl command line , replace it with path to the EWDK cl. Good luck!
I'm following this doc to go through the steps of running react-native-windows app. When running
npx react-native run-windows
in an EWDK build command window, I got stuck with following errorIs there some workaround of this ? Many thanks.