有没有一种方法可以从node_modules目录更新package.json?有时我会忘记使用--save标志。谢谢!
npm install --save chalk
命令,我的 node_modules 文件夹将包含 7 个条目(ansi-regex/ ansi-styles/ chalk/ escape-string-regexp/ has-ansi/ strip-ansi/ supports-color/)。安装 chalk、node-sass 和 gulp 后,node_modules 文件夹中会有 233 个包。我正在 Windows 上使用 Git Bash。 - goldenrationpm ERR! registry error parsing json
的错误信息。 - Tam Borine
node_modules
文件夹,然后运行一些npm命令?我对答案非常感兴趣! - ConcurrentHashMap