Package: npm

Last Update: 3/6/2017

Team Services | TFS 2017 | TFS 2015 | Previous versions: XAML Build, Release

Install npm packages

Demands

npm

Arguments

Argument Description
Command npm command to run. For example: install
Advanced
Arguments Additional arguments passed to npm.
Working directory Working directory where npm command is run. If you leave it blank it is the root of the repo.
Control options

Examples

Build: Gulp

Build your Node.js app with Gulp

Q&A

Where can I learn npm commands and arguments?

npm docs

Do I need an agent?

You need at least one agent to run your build or release. Get an agent.

I can't select a default agent queue and I can't queue my build or release. How do I fix this?

See queues.

I use Team Foundation Server on-premises and I don't see some of these features. Why not?

Some of these features are available only on Visual Studio Team Services and not yet available on-premises. Some features are available on-premises if you have upgraded to the latest version of TFS.