Ahmed Magdy
Ahmed Magdy

Reputation: 21

up to date, audited 1 package in 513ms found 0 vulnerabilities

I removed My node_modules folder, package.json and package-lock.json. when i run npm install it says "up to date, audited 1 package in 513ms found 0 vulnerabilities" and there is no node_modules was installed.

package.json is {}

package-lock.json is { "name": "client", "lockfileVersion": 2, "requires": true, "packages": {} }

Upvotes: 0

Views: 8936

Answers (1)

Matthew Kwong
Matthew Kwong

Reputation: 2957

Since you removed the package.json file, NodeJS assumes you are initializing a new project and create an empty package.json for you. Obviously, it won't install any packages for you because you didn't specify any in the first place.

Upvotes: 3

Related Questions