Skip to content

Please provide an option in config to ignore errors #5638

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

Closed
e-oz opened this issue Mar 24, 2017 · 5 comments
Closed

Please provide an option in config to ignore errors #5638

e-oz opened this issue Mar 24, 2017 · 5 comments
Labels
feature Issue that requests a new feature

Comments

@e-oz
Copy link

e-oz commented Mar 24, 2017

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ x] feature request

Versions.

1.0

Please create an option to don't break compilation if there are errors during compilation. Some errors are not critical, some are produced by stupidity of compiler/linter, but build still should be created. It's extremely important for existing apps. Currently we can't use AngularCLI 1.0 because of minor error, produced by variable compiler can't see (created in template). Nobody cares about this error and it works just fine with previous version (in runtime too).

@filipesilva filipesilva added command: build feature Issue that requests a new feature labels Mar 24, 2017
@kondi
Copy link

kondi commented Mar 25, 2017

I would say this is even more important for serve command, during the development. I don't think there is an error what you could not fix for the build (by casting, maybe even to any, or adding extra typings). It is a very bad practice to allow your production build with errors.

@e-oz
Copy link
Author

e-oz commented Mar 26, 2017

@kondi

I don't think there is an error what you could not fix for the build

But there are such errors.

It is a very bad practice

Each project and each team should have own rules. "Bad/good practices" are just sets of advices, not laws.

@e-oz
Copy link
Author

e-oz commented Mar 29, 2017

Not needed anymore after #5698, thanks.

@e-oz e-oz closed this as completed Mar 29, 2017
@vernjensen
Copy link

I am looking for a way to continue a build even with errors. e-oz, is there a way to specify this in config?

The error I'm getting is "ERROR in Cannon read property 'getSourceFile' of undefined' which does not reference any file, and I have been unable to fix it. It seems to maybe be an issue in WebPack with Windows systems. I'd like to just IGNORE the error and continue the build...

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Issue that requests a new feature
Projects
None yet
Development

No branches or pull requests

4 participants