I downloaded a theme and it has a package-lock.json file but no package.json file. Is there a way I can generate the package.json from the package-lock.json file. How do I insta
Install the latest npm with npm install -g npm
npm install -g npm
Run npm init and respond to the questions.
npm init
The above command will generate a package.json and include the existing packages listed in package-lock.json
package.json
package-lock.json