how to Add my node_module, modules into package.json

前端 未结 4 2112
我在风中等你
我在风中等你 2021-02-19 07:42

I have some module in my node_module folder but because I am amateur in nodejs, when I wanted to install theme, I forgot to use --save with npm i

4条回答
  •  说谎
    说谎 (楼主)
    2021-02-19 08:43

    You can install the same package again using npm install --save and it should just replace the current package files with freshly installed ones. It will also add the packages you already added with the default version notation.

提交回复
热议问题