React-native-windows: Update CLI to say "To Run your app on UWP: npx react-native run-windows"

Created on 16 Mar 2020  路  4Comments  路  Source: microsoft/react-native-windows

Steps to Reproduce

When you follow the Getting Started guide on the RNW website it instructs you to now install React Native locally. Which means the last step to actually kick-off the build process is:

npx react-native run-windows

However, the CLI advises you to run react-native run-windows which was the old instructions and with the local install will no longer work.

Expected Behavior

At the end of the CLI instructions you will be given a notice to do the following:

```
To run you app on UWP:
npx react-native run-windows
````

Actual Behavior

After you finish CLI installation instructions for RNW, you get this:

image

Which if a user is following the new guidance will not work.

react-native run-windows --logging

^^ Also this section header in the template needs to be updated for the same reasons.

CLI bug

All 4 comments

Nit: UWP is an ambiguous term (conflates appmodel, winrt xaml, etc.), so I'd advise against using that acronym.

@riverar What wording would you suggest instead of 'run on UWP'?

@rectified95 "run on Windows" perhaps? Just a minor nit/peeve, don't want to create a lot of churn here.

The problem has been fixed in another issue, as I can now see the expected string in the CLI.

Was this page helpful?
0 / 5 - 0 ratings