npm install doesn't install any dependencies

后端 未结 2 1963
既然无缘
既然无缘 2021-01-12 02:27

I am trying to install packages in the package.json file. Unfortunately, when I run npm install, nothing happens (nothing is installed). I have u

2条回答
  •  青春惊慌失措
    2021-01-12 03:20

    npm install doesn't install (or echo) anything when all of the dependencies are satisfied. Ensure there's a serialport folder under node_modules.

    If you want to reinstall everything, you just need to remove the node_modules folder:

    rm -r node_modules
    npm install
    

提交回复
热议问题