Files

1.2 KiB

title, description, keywords, author, ms.author, ms.date, ms.topic, ms.assetid, ms.service, ms.custom, ms.tgt_pltfrm
title description keywords author ms.author ms.date ms.topic ms.assetid ms.service ms.custom ms.tgt_pltfrm
React Native Node.js versions selection How to specify Node.js version for React Native app build, react-native, nodejs lucen-ms lucen 09/08/2020 article 14082d66-a0ff-45e6-938d-259f64c35337 vs-appcenter build react-native

Node.js selection

[!INCLUDE Retirement announcement for App Center]

Major versions of Node.js

The following versions are available for use in App Center Build: 6.X, 8.x, 10.x, 12.x, 14.x, 16.X. See Also: App Center Cloud Build Machines

Select Node.js version in the app's branch configuration

Using .nvmrc

If the app repository contains an .nvmrc file, the option Use .nvmrc will be available in the Node.js version dropdown. Select this option to use the node version from the .nvmrc file for the build.

  • The .nvmrc file should be located in the same folder as the project's package.json file or in one of the parent folders
  • The .nvmrc syntax can be found in nvm docs