Project.json doesn't exist

After running the commands “npm install babel-cli -D” and “npm install babel-preset-env -D” in the project directory I created, all I see is project-lock.json. “project-lock.json” does not have a scripts propety inside it, hence I can’t write a script. What is going on?

Nevermind, I forgot “npm init”. That solved it.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.