如果一个包被 npm 安装为全局节点包,它会被添加到我项目的本地 package.json 中吗?
不,这会将 lodash 添加到全局 package.json 文件中,而不是当前项目中。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.