“Couldn't read dependencies” error with npm

前端 未结 17 2728
别跟我提以往
别跟我提以往 2020-12-23 14:59

I wanted to start a Node app and created a package.json file with a tutorial. Here is the json file:

{
    \"name\": \"Dashboard\",         


        
17条回答
  •  無奈伤痛
    2020-12-23 15:13

    It's simple, you're just not in the right directory.

    Go to the C:\Program Files\nodejs\node_modules\npm and you should be able to run this command properly.

提交回复
热议问题