question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Downgrade non-default builders error to warning

See original GitHub issue

Bug, feature request, or proposal:

Feature request for schematics

What is the expected behavior?

Not having the default builders and using the schematics should throw a warning.

Ideally, there would also be an option to silence it.

What is the current behavior?

Having non-default builders throws an error

What are the steps to reproduce?

Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV

npx @nrwl/schematics my-proj --no-interactive
cd my-proj
ng g app app1 --unit-test-runner jest --no-interactive
ng add @angular/material

What is the use-case or motivation for changing an existing behavior?

Users should be able to use their own builders at their own risk.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Whichever versions material enforce the builders (6+?)

Is there anything else we should know?

Original Issue: https://github.com/nrwl/nx/issues/868

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
devversioncommented, Nov 18, 2018

I see, reading the config for a builder sounds very reasonable, but I’m afraid that this is out-of-scope for our Material schematics.

Maybe we can work on some public API (maybe there already is one, not too sure yet), and then we can consider using that API in order to check if there is a styles option available.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 10, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

GCC: Use -Werror but downgrade a specific error to a warning ...
An example: I'm using -Wall -Werror and -Werror . This means unused static functions break the build. Clearly (?) unused functions are Bad,...
Read more >
24082: Layer's symbol will be downgraded—ArcGIS Pro
The server downgrades the symbol to a symbol that is supported. Change the layer's symbology. Remove the layer if it is not needed....
Read more >
8 Downgrading Oracle Database to an Earlier Release
If the downgrade for a component fails, then an ORA-39709 error is displayed. The SQL*Plus session terminates without downgrading the Oracle Database data ......
Read more >
NuGet Warning NU1605 - Microsoft Learn
Detected package downgrade: 'PackageB' from 4.0.0 to 3.5.0. Reference the package directly from the project to select a different version.
Read more >
How to fix "The following module is missing from the file ...
If you see a PHP warning such as "The following module is missing from the ... No thought at all to dumping this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found