diff --git a/change/react-native-windows-2020-04-14-16-58-37-consistency-in-instructions.json b/change/react-native-windows-2020-04-14-16-58-37-consistency-in-instructions.json new file mode 100644 index 00000000000..c703b6894e5 --- /dev/null +++ b/change/react-native-windows-2020-04-14-16-58-37-consistency-in-instructions.json @@ -0,0 +1,8 @@ +{ + "type": "prerelease", + "comment": "[generator] Use `npx` for consistency", + "packageName": "react-native-windows", + "email": "eloy.de.enige@gmail.com", + "dependentChangeType": "patch", + "date": "2020-04-14T14:58:37.541Z" +} \ No newline at end of file diff --git a/vnext/local-cli/generator-windows/index.js b/vnext/local-cli/generator-windows/index.js index 722c71f97d0..c2b34815ac1 100644 --- a/vnext/local-cli/generator-windows/index.js +++ b/vnext/local-cli/generator-windows/index.js @@ -128,7 +128,7 @@ function copyProjectTemplateAndReplace( copyAndReplaceAll(path.join(srcPath, 'src'), destPath, path.join(windowsDir, newProjectName), templateVars, options.overwrite); console.log(chalk.white.bold('To run your app on UWP:')); - console.log(chalk.white(' react-native run-windows')); + console.log(chalk.white(' npx react-native run-windows')); } function installDependencies(options) {