Skip to content

Prod mode label error #19

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
FlacosFlace opened this issue Oct 17, 2018 · 6 comments
Closed

Prod mode label error #19

FlacosFlace opened this issue Oct 17, 2018 · 6 comments

Comments

@FlacosFlace
Copy link

When build to prod mode every time I hover line to show label like this:
vyber_078

This error will show:
vyber_079

Any idea why?

@alexgoldstone
Copy link

alexgoldstone commented Oct 17, 2018

Please see this issue here:
#15

Currently this library cannot be used in optimised production builds.

You can try this for now:

ng build --prod --optimization=false

Obviously this will have a significant impact on the overall build size as it impacts all code not just this library.

It has been suggested that this might be fixed by the Angular 7 RC (but not confirmed).

@FlacosFlace
Copy link
Author

Thanks.

@EzraBrooks
Copy link

EzraBrooks commented Oct 30, 2018

Still experiencing this error as of Angular 7.0.3. Angular team thinks they fixed it at angular/angular-cli#11129, but it's still not working for Plot.ly in particular, at least for me.

@ghost
Copy link

ghost commented Nov 29, 2018

Still not working with angular 7.1.0. Are we sure it comes from angular package?

@hpardess
Copy link

the error still exists in production mood.
node --max_old_space_size=12000 ./node_modules/.bin/ng build --prod --source-map

ERROR TypeError: Cannot read property 'call' of undefined at main.6890494d6e6277c18b3b.js:1 ...

@andrefarzat
Copy link
Collaborator

This started happening for this library had no support for angular 7.x.
Please, update to 1.0.0 and see if this issue continues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants