-
-
Notifications
You must be signed in to change notification settings - Fork 78
Error with latest version #104
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
Comments
Same here with angular 8.2 & typescript 3.5.3 |
@nicodh @saitejayala as a quickfix, try downgrading |
@andrefarzat since we need the treemap/sunburst click event, and facing this issue., the downgrade wont work |
I have the same issue. It seems this library is now compiled using NG9? Is that correct? because that will break support with version 8 Angular apps. If this is the case, this really should have been a major release right? |
@MikeOne looks like you're right. From 7 to 8 wasn't the same issue, but to 9 is having these small (but several) issues which I can't replicate in my tests. Will downgrade to angular 8.x and release a 2.x version to suporte angular 9.x |
@saitejayala @MikeOne @tanvi-cota ok guys, I deprecated versions |
Great. I’ll test it asap. For clarification- you really don’t ‘need’ a ng9 version short term. The Angular ngcc compiler will take care of enabling version 8 libraries to work with Ivy for you. |
@andrefarzat this seems to work now, thanks for the quick fix! |
Closing this issue. Please, feel free to reopen if it persists 😸 |
So, as of today should it give any errors while compiling? Because I am getting: What is a way to making it work in Angular 9? Thanks |
@markzolotoy the correct version to work with angular 9 is |
`Angular CLI: 7.3.10 Package Version@angular-devkit/architect 0.13.10 And in angular.json I have this: |
@markzolotoy looks like you're using version |
I have updated plotly version today to latest
In my package.json file i have
"angular-plotly.js": "^1.6.0",
"plotly.js": "^1.52.2"
From then it is giving me error on
ng build
below is the error:
**ERROR in node_modules/angular-plotly.js/src/app/plotly-via-cdn/plotly-via-cdn.module.d.ts:9:16 - error TS1086: An accessor cannot be declared in an ambient context.
9 static set plotlyVersion(version: string);
~~~~~~~~~~~~~
node_modules/angular-plotly.js/src/app/plotly-via-cdn/plotly-via-cdn.module.d.ts:10:16 - error TS1086: An accessor cannot be declared in an ambient context.
10 static set plotlyBundle(bundle: PlotlyBundleName);
~~~~~~~~~~~~
node_modules/angular-plotly.js/src/app/shared/plotly.service.d.ts:11:9 - error TS1086: An accessor cannot be declared in an ambient context.
11 get debug(): boolean;**
Any idea why this is giving me error
The text was updated successfully, but these errors were encountered: