Categories
JavaScript Answers

How to fix Node npm install doesn’t create node_modules directory?

Spread the love

To fix Node npm install doesn’t create node_modules directory, we create a package.json file.

To do this, we run

npm init

to create a package.json file in the project folder.

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published.