typescript - Angular2 build in Visual Studio Team Services (was Visual Studio Online) -


i have angular2 client visual studio vnext (asp.net 5) project. trying create build in visual studio team services, , getting errors on build step:

cannot find module 'angular2/core'

this problem typescript compiler. have tsconfig.json in project not sure if team services using it.

i don't have problem building locally in visual studio.

any idea how should handle this?

you need add "npm" task run "npm install" command in build definition install npm packages before vs build. otherwise, angular won't installed during build. enter image description here

remember set "working directory" project folder npm configuration file "package.json" placed.


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -