Home > Web Front-end > JS Tutorial > body text

How to upgrade react native and node.js in win

藏色散人
Release: 2022-12-30 11:13:40
Original
2293 people have browsed it

Win method to upgrade react native and node.js: 1. Download the latest version of nodejs, and then perform overlay installation; 2. Upgrade the react-native scaffolding, and then upgrade the react-native of the project.

How to upgrade react native and node.js in win

The operating environment of this article: windows7 system, react17.0.1 version, Dell G3 computer.

How to upgrade react-native and node.js in windows?

How to upgrade node.js in windows

Download the latest version of nodejs directly from the official website, and then install it overlay.

How to upgrade react-native in windows

(1) Upgrade the react-native scaffolding

npm update -g react-native-cli
Copy after login

(2) Upgrade the react-native of the project

For example, if we need to update to version 0.18, we can use the terminal to execute the following command:

npm install --save react-native@0.18
react-native upgrade
Copy after login

To view the latest react-native version, we can use the npm info react-native command.

Recommended: "react tutorial"

The above is the detailed content of How to upgrade react native and node.js in win. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!