Skip to content

Angular2 cli webpack : difficult to troubleshoot issues #1655

Closed
@susandy

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

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