℡Wang Yan 2013-10-24 23:54 采纳率: 100%
浏览 985

Npm 安装的 -- save 选项是什么?

I saw some tutorial where the command was:

npm install --save

What does the --save option mean?

Not able to find the answer on Google.

转载于:https://stackoverflow.com/questions/19578796/what-is-the-save-option-for-npm-install

  • 写回答

9条回答 默认 最新

  • 狐狸.fox 2014-07-08 05:23
    关注

    It won't do anything if you don't have a package.json file. Start by running npm init to create one. Then calls to npm install --save or npm install --save-dev or npm install --save-optional will update the package.json to list your dependencies.

    评论

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器