0

I have an angular project that I am trying to build though Azure DevOps. When I run the ng build on a library project, there are some warnings

ex(##[error]WARNING: autoprefixer: D:\Agent_work\1\s\Test\projects\test-library\src\components\test.component.css:4:5: start value has mixed support, consider using flex-start instead)

The build step fails because of this. the command for this step is "ng build test-library"

Is there a way in TFS or a setting on ng build to ignore these warnings?

1
  • Not get your response for several days, would you please share your latest information about this issue? If you have any concern, feel free to share it here. Commented Sep 17, 2020 at 6:39

2 Answers 2

1

Please add continueOnError to your task:

- task: string  # reference to a task and version, e.g. "VSBuild@1"
  condition: expression     # see below
  continueOnError: boolean  # 'true' if future steps should run even if this step fails; defaults to 'false'
  enabled: boolean          # whether or not to run this step; defaults to 'true'
  timeoutInMinutes: number  # how long to wait before timing out the task
  target: string            # 'host' or the name of a container resource to target

or here if you use classic pipelines: enter image description here

However I would recommend you to get rid of this warning.

Sign up to request clarification or add additional context in comments.

Comments

0

You can try to change justify-content: start property to justify-content: flex-start.

enter image description here

For details ,please refer to this document.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.