Skip to content
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

Angular2 cli webpack : difficult to troubleshoot issues #1655

Closed
susandy opened this issue Aug 11, 2016 · 4 comments
Closed

Angular2 cli webpack : difficult to troubleshoot issues #1655

susandy opened this issue Aug 11, 2016 · 4 comments

Comments

@susandy
Copy link

susandy commented Aug 11, 2016

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
@ghost
Copy link

ghost commented Aug 12, 2016

ng serve --help

--environment (String) (Default: development)
  aliases: -e <value>, -dev (--environment=development), -prod (--environment=production)

so you could try ng serve -dev

@susandy
Copy link
Author

susandy commented Aug 12, 2016

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.

@filipesilva
Copy link
Contributor

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

@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 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants