-
Notifications
You must be signed in to change notification settings - Fork 37
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
Anuglar 12 support #140
Comments
@matthewtquinn1 here is the summary of your issues 2- It seems you are not using fusioncharts 3.15.2 because it's looking for license key which is supported in version 3.15.3 onwards, in the browser console please type FusionCharts.version for version details. |
1 - OK I'll ignore that for now. 2 - If I upgrade to 3.15.3 or higher then I will receive this error. |
Right if you upgrade to 3.15.3 and up you will need licence key to remove the trail mark. FusionCharts.options['license']({ |
It seems you are not using a different fusioncharts version, in the web browser console please type FusionCharts.version for version details. |
Drop a mail to [email protected] with your license key, they would help you accordingly. |
Same problem trying to upgrade from Angular 11 to 12
Here my error:
|
The problem is not necessarily compatibility with Angular, the Fusioncharts code itself is fine. The problem is in the peerDependencies declaration in angular-fusioncharts (here: https://github.com/fusioncharts/angular-fusioncharts/blob/develop/dist/package.json#L37) and occurs during installation. If the package is preinstalled, and you then switch the Node version, the problem does not occur. If you would change "@angular/core": "^4.0.0", to "@angular/core": ">=4.0.0", I think that would already solve the issue. A google search for "npm peer dependency multiple versions" provides more examples. Here is a really small package.json which demonstrates the issue. If you switch to NPM 8 before running npm install (I tested this using nvm) and then install, the error occurs.
|
Please allow for an wider range of Angular package version in your E.g.
Or via |
Hi @AyanBhadury,
I read through some of the other issues (open and closed), and found this one in particular that you advise to update angular-fusioncharts to 3.2.0. #114 (comment)
I have now done this, however I am now seeing these warnings:
From this I have two questions:
angular-fusioncharts
ANDfusioncharts
I should have when running my app on Angular 12?We were also seeing issues with
angular-fusioncharts
not accepting certain properties, e.g. the license key that is required when upgradingfusioncharts
: (i.e.FusionCharts.options.license
). If we upgradefusioncharts
to 3.16 or above, then we still see this issue:Current setup:
Thanks.
The text was updated successfully, but these errors were encountered: