Project.json doesn't exist


#1

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?


#2

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


#3

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