"npm install"是否与Meteor 1.3中的"meteor npm install"相同? [英] Is `npm install` same as `meteor npm install` in Meteor 1.3?

查看:121
本文介绍了"npm install"是否与Meteor 1.3中的"meteor npm install"相同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

浏览一些流星库时,我注意到npm installmeteor npm install都在指令中使用.我知道Meteor 1.3引入了对npm模块的支持,所以这两个命令有什么区别?

Going through some meteor libraries, I notice that npm install and meteor npm install are both used in instructions. I know Meteor 1.3 introduced support for npm modules, so what is the difference between these two commands?

推荐答案

meteor npm installnode_modules文件夹放在项目的根目录,并修改package.json在流星项目的根目录.

meteor npm install will place the node_modules folder at the root of your project and modify the package.json at the root of your meteor project.

npm install将相对于当前目录起作用.

While npm install will work relative to your current directory.

资料来源:经验.我不确定100%,但是我都用了相当多的钱.

Source: Experience. I'm not 100% certain, but I have used them both a fair amount.

这篇关于"npm install"是否与Meteor 1.3中的"meteor npm install"相同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆