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?
相关问题
- Failed at the electron@1.8.2 postinstall script
- Webpack getting started, import error
- A good way to define default rendering templates i
- No member named ForceSet
- AWS Elastic BeanStalk nodejs Deployment error
相关文章
- @angular-cli install fails with deprecated request
- External dependencies (like bootstrap) in Meteor
- Create React App not installing, showing an error
- new field false in Package.json
- npm : Postinstall not running in docker
- Babel CLI is extremely slow
- Docker and npm - gyp ERR! not ok
- how to properly configure meteor to work with node
meteor npm install
will place thenode_modules
folder at the root of your project and modify thepackage.json
at the root of your meteor project.While
npm install
will work relative to your current directory.Source: Experience. I'm not 100% certain, but I have used them both a fair amount.
meteor npm
will run npm that has been bundled with meteor, this may be a different version than the version of npm installed globally on your system.You can check versions like
meteor npm -v
andnpm -v