Skip to content

Not showing webpack compilation warnings #7213

Closed

Description

@gkalpak

Bug Report or Feature Request (mark with an x)

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

Versions.

@angular/cli: 1.3.0-rc.3
node: 6.11.1
os: win32 x64
@angular/animations: 4.3.1
@angular/cdk: 2.0.0-beta.8
@angular/common: 4.3.1
@angular/compiler: 4.3.1
@angular/core: 4.3.1
@angular/forms: 4.3.1
@angular/http: 4.3.1
@angular/material: 2.0.0-beta.8
@angular/platform-browser: 4.3.1
@angular/platform-browser-dynamic: 4.3.1
@angular/platform-server: 4.3.1
@angular/router: 4.3.1
@angular/service-worker: 1.0.0-beta.16
@angular/cli: 1.3.0-rc.3
@angular/compiler-cli: 4.3.1

Repro steps.

After upgrading to 1.3.0-rc.3 and doing some bad things, ng serve outputs:

webpack: Compiling...
webpack: Compiled with warnings.

But no warnings are printed 😞

(I encountered the issue with there changes, but any changes creating warnings should do.)

The log given by the failure.

N/A

Activity

  1. gkalpak commented on Jul 31, 2017

    @gkalpak
    MemberAuthor
  2. self-assigned this
    on Jul 31, 2017
  3. added
    P1Impacts a large percentage of users; if a workaround exists it is partial or overly painful
    on Jul 31, 2017
  4. gkalpak commented on Jul 31, 2017

    @gkalpak
    MemberAuthor

    (Hm...or maybe there are no warnings and the message is wrong. Not sure how to find out.)

  5. filipesilva commented on Jul 31, 2017

    @filipesilva
    Contributor

    There are errors. Might be just a circular dependency error, but it exists. I had similar trouble last week.

  6. gkalpak commented on Jul 31, 2017

    @gkalpak
    MemberAuthor

    Yeah, they were circular dependency warnings. If there are errors too, the warnings are shown along with the errors. But if there are only warnings, nothing is shown.

  7. added 4 commits that reference this issue on Jul 31, 2017
    f37419f
    b057e70
    7742dac
    3649404
  8. added a commit that references this issue on Jul 31, 2017
    138f2b8
  9. added a commit that references this issue on Aug 3, 2017
    ca98b2b
  10. Matmo10 commented on Aug 3, 2017

    @Matmo10

    @filipesilva @hansl Could this be made configurable at all?

    I have lots of the fake errors stemming from #2034, and I actually enjoyed having the warning output rather limited.

    Not only did you guys bring back the first line of the warnings (how it use to be), but you also added the whole stack traces as well. So now I have a giant wall of stack traces every time I make a change.

  11. Vandivier commented on Jan 3, 2018

    @Vandivier

    Bump. I realize we don't want to expose webpack until 2.0, but silencing the warnings can be done without exposing webpack.

    Also, what is the timeline for 2.0?

    Lastly, this has some technical merit in addition to being a convenience: Right now I'm trying to debug an issue during init which throws so many warnings it pushes the error above the scrollable range for my CLI. The solution would be to use a logger, but because the err is happening in init I'm not currently able to use my logger. Totally my issue to work out but this feature would assist.

  12. added a commit that references this issue on Apr 23, 2018
    7bf6788
  13. angular-automatic-lock-bot commented on Sep 7, 2019

    @angular-automatic-lock-bot

    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.

  14. locked and limited conversation to collaborators on Sep 7, 2019
  15. added a commit that references this issue on May 29, 2026
    1665f01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfultype: bug/fix

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions