Я могу создавать код Angular 4 на моей локальной машине.но тот же код завершается с ошибкой при сборке Teamcity для CI-CD -
• [0m [1m [33m(Emitted value instead of an instance of Error) Cannot find source file '../../../src/lib/injection/injection-registry.service.ts' Can't resolve '../../../src/lib/injection/injection-registry.service.ts' in 'E:\750fb18edb99326e\src\node_modules\ngx-contextmenu\lib\injection' [39m [22m [0m
• [0m [1m [33m(Emitted value instead of an instance of Error) Cannot find source file '../../../src/lib/injection/injection.service.ts' Can't resolve '../../../src/lib/injection/injection.service.ts' in 'E:\750fb18edb99326e\src\node_modules\ngx-contextmenu\lib\injection' [39m [22m [0m
• [0m [1m [33m(Emitted value instead of an instance of Error) Cannot find source file '../../src/lib/contextMenu.attach.directive.ts' Can't resolve '../../src/lib/contextMenu.attach.directive.ts' in 'E:\750fb18edb99326e\src\node_modules\ngx-contextmenu\lib' [39m [22m [0m
• [0m [1m [33m(Emitted value instead of an instance of Error) Cannot find source file '../../src/lib/contextMenu.component.ts' Can't resolve '../../src/lib/contextMenu.component.ts' in 'E:\750fb18edb99326e\src\node_modules\ngx-contextmenu\lib' [39m [22m [0m
• [0m [1m [33m(Emitted value instead of an instance of Error) Cannot find source file '../../src/lib/contextMenu.item.directive.ts' Can't resolve '../../src/lib/contextMenu.item.directive.ts' in 'E:\750fb18edb99326e\src\node_modules\ngx-contextmenu\lib' [39m [22m [0m
• [0m [1m [33m(Emitted value instead of an instance of Error) Cannot find source file '../../src/lib/contextMenu.options.ts' Can't resolve '../../src/lib/contextMenu.options.ts' in 'E:\750fb18edb99326e\src\node_modules\ngx-contextmenu\lib' [39m [22m [0m
• [0m [1m [33m(Emitted value instead of an instance of Error) Cannot find source file '../../src/lib/contextMenu.service.ts' Can't resolve '../../src/lib/contextMenu.service.ts' in 'E:\750fb18edb99326e\src\node_modules\ngx-contextmenu\lib' [39m [22m [0m
• [0m [1m [33m(Emitted value instead of an instance of Error) Cannot find source file '../../src/lib/contextMenuContent.component.ts' Can't resolve '../../src/lib/contextMenuContent.component.ts' in 'E:\750fb18edb99326e\src\ngx-contextmenu\lib' [39m [22m [0m
• [0m [1m [33m(Emitted value instead of an instance of Error) Cannot find source file '../../src/lib/contextMenuInjector.service.ts' Can't resolve '../../src/lib/contextMenuInjector.service.ts' in 'E:\750fb18edb99326e\src\ngx-contextmenu\lib' [39m [22m [0m
• [0m [1m [33m(Emitted value instead of an instance of Error) Cannot find source file '../../src/lib/index.ts' Can't resolve '../../src/lib/index.ts' in 'E:\750fb18edb99326e\src\ngx-contextmenu\lib' [39m [22m [0m
• [0m [1m [33m(Emitted value instead of an instance of Error) Cannot find source file '../../src/lib/ngx-contextmenu.ts' Can't resolve '../../src/lib/ngx-contextmenu.ts' in 'E:\750fb18edb99326e\src\ngx-contextmenu\lib' [39m [22m [0m
• [0m [1m [31mModule not found Can't resolve './C:/TeamCity/buildAgent/work/750fb18edb99326e/src/$$_gendir/app/app.module.ngfactory' in 'E:\750fb18edb99326e\src' [39m [22m [0m
• C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1276, 5): error MSB3073: The command "cd C:\TeamCity\buildAgent\work\750fb18edb99326e\src
if "Release" == "Debug" (
call npm install
call npm run build
)
if "Release" == "Release" (
call npm install
call npm run build-prod
)
" exited with code 1.
Чего не хватает?Чем эта сборка отличается от обычной сборки на локальной машине?