mirror of
https://github.com/expo/appcenter-docs.git
synced 2026-11-23 05:39:31 -10:00
1.2 KiB
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
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
.nvmrcfile should be located in the same folder as the project'spackage.jsonfile or in one of the parent folders - The
.nvmrcsyntax can be found in nvm docs
