npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Nuwanst\package.json'

前端 未结 15 933
隐瞒了意图╮
隐瞒了意图╮ 2020-12-12 23:19

I just want to install socket.io to my project which is located on 3.chat folder. But when I run following command it shows following Warnings.And its not created a node_mod

15条回答
  •  渐次进展
    2020-12-12 23:59

    If your folder already have package.json

    Then,

    Copy the path of package.json

    Open terminal

    Write:

    cd your_path_to_package.json

    Press ENTER

    Then Write:

    npm install

    This worked for me

提交回复
热议问题