My package.json is giving error!

Asked

Viewed 144 times

-1

I’m having trouble with my package.json. It is giving direct error, and when I open the Node to make the file, also gives error as shows the attached photos.

inserir a descrição da imagem aqui inserir a descrição da imagem aqui

1 answer

0

If Voce wants to create a file package.json, Voce must execute the command:

npm init -yes

This will create a standard package.json.

If you want it is possible to use iterative mode, to generate according to some questions that are asked via command line.

To do this just use the command:

npm init

If you want to know more about how to create a file package.json and other usage options, you can access documentation.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.