Skip to content

Angular2 cli webpack : difficult to troubleshoot issues #1655

Closed

Description

@susandy

Please provide us with the following information:
Hi, my angular2 cli:webpack application always create minification hence console errors are not at all helpful to troubleshoot issues. Is there any easy way that debugge shows me actual file instead of main.bundle.js?

  1. Mac OSX - Yosemite
  2. angular-cli: 1.0.0-beta.11-webpack
    node: 6.2.2
  3. The log given by the failure. Normally this include a stack trace and some
    more information.
    --EXCEPTION: TypeError: jQuery(...).tooltip is not a function
    main.bundle.js:74958 EXCEPTION: TypeError: jQuery(...).tooltip is not a functionBrowserDomAdapter.logError @ main.bundle.js:74958BrowserDomAdapter.logGroup @ main.bundle.js:74968ExceptionHandler.call @ main.bundle.js:69765(anonymous function) @ main.bundle.js:43429schedulerFn @ main.bundle.js:16513SafeSubscriber.__tryOrUnsub @ main.bundle.js:5591SafeSubscriber.next @ main.bundle.js:5540Subscriber._next @ main.bundle.js:5490Subscriber.next @ main.bundle.js:5454Subject._finalNext @ main.bundle.js:7459Subject._next @ main.bundle.js:7451Subject.next @ main.bundle.js:7408EventEmitter.emit @ main.bundle.js:16501onError @ main.bundle.js:46138onHandleError @ main.bundle.js:73134ZoneDelegate.handleError @ polyfills.bundle.js:3606Zone.runTask @ polyfills.bundle.js:3538ZoneTask.invoke @ polyfills.bundle.js:3702
    main.bundle.js:74958 STACKTRACE:BrowserDomAdapter.logError @ main.bundle.js:74958ExceptionHandler.call @ main.bundle.js:69767(anonymous function) @ main.bundle.js:43429schedulerFn @ main.bundle.js:16513SafeSubscriber.__tryOrUnsub @ main.bundle.js:5591SafeSubscriber.next @ main.bundle.js:5540Subscriber._next @ main.bundle.js:5490Subscriber.next @ main.bundle.js:5454Subject._finalNext @ main.bundle.js:7459Subject._next @ main.bundle.js:7451Subject.next @ main.bundle.js:7408EventEmitter.emit @ main.bundle.js:16501onError @ main.bundle.js:46138onHandleError @ main.bundle.js:73134ZoneDelegate.handleError @ polyfills.bundle.js:3606Zone.runTask @ polyfills.bundle.js:3538ZoneTask.invoke @ polyfills.bundle.js:3702

Activity

  1. susandy commented on Aug 12, 2016

    @susandy
    Author

    I tried taht as well but still same result. In angular cli previous version, I used to get all files in dist folder in development mode. Looks like, its removed in current version.

  2. filipesilva commented on Aug 19, 2016

    @filipesilva
    Contributor

    The problem here was that the sourcemaps were broken. We fixed that in #1659.

  3. angular-automatic-lock-bot commented on Sep 6, 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.

  4. locked and limited conversation to collaborators on Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions