0

I accidentally deleted the node_modules folder. I can't reinstall it since the files containing the npm libraries called package.json has been deleted as well. Is there some other way of manually downloading the node_modules individually? And how would I be able to find out what they are?

1 Answer 1

0

node_modules is created based on the dependencies listed in `package.json`. Since you have deleted it the only option here is to visit every file in your project and install the dependencies.

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.