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.
remember set "working directory" project folder npm configuration file "package.json" placed.
Comments
Post a Comment