0

I want to use one previous version of react (16.0.0) but couldn't find any way to install previous version by using "create react app".

One answer on this topic was posted in stackoverflow that says that I need to install the latest version by using "create react app" then I need to edit package.json file and specify my desired version (react & react-dom) and run npm install command.

But couldn't get my desired version. It's still the current version (17.0.2). Can anyone fix the issue please?

2

1 Answer 1

1

delete .lock file and then try installing packages

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.