简体   繁体   中英

How do I un upgrade react/react-dom from 16.13.1 to 15.6.2?

在此处输入图片说明 When I type

npm view react version 

I get 16.13.1.

How can I fix this? I need to use 15.6.2

I already tried npm install @. I think I have 15.6.2 but the newer react version of 16.13.1 is overriding it. How can I fix this?

You should try: npm install react@version

look at this solution: How to install a previous exact version of a NPM package?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM