Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript errors while it works on my machine #30

Open
omatrot opened this issue Apr 1, 2022 · 0 comments
Open

TypeScript errors while it works on my machine #30

omatrot opened this issue Apr 1, 2022 · 0 comments

Comments

@omatrot
Copy link

omatrot commented Apr 1, 2022

Describe the bug
I'm trying to build an angular project on Azure DevOps. The build works using ng build on my Visual Studio machine.
With the Task, it fails with lots of errors like this one that happens with ng-uikit-pro-standard:

error TS2380: 'get' and 'set' accessor must have the same type.

Expected behavior
The build should work

Azure Devops tasklog:

==============================================================================
Task         : Angular CLI
Description  : Build, tests, lint, e2e an Angular project, or run a custom Angular CLI command.
Version      : 1.0.0
Author       : Raul A. Ruiz
Help         : https://github.com/alexruizprado/azure-pipelines-angular-cli-task
==============================================================================
build D:\a\1\s\SafeProtect.WebAdmin.Web\ClientApp --configuration=dev --verbose --prod true true
Using Angular CLI 12.2.17
Executing ng build --configuration=dev --verbose --prod
Option "--prod" is deprecated: Use "--configuration production" instead.
...

Angular CLI:

  • Version 12.2.17

Is it a TypeScript related problem ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant