We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

GLbyte error ej2-charts

Hi, I am getting below error after updating angular version from 6 to 7.
ERROR in ../node_modules/@syncfusion/ej2-charts/node_modules/@syncfusion/ej2-pdf-export/src/interfaces/i-pdf-writer.d.ts(28,55): error TS2304: Cannot find name'GLbyte'.

I followed similar threads and updated ej2-angular-charts to ^17.2.34 version but the issue still remains. I am using following syncfusion dependencies-
"@syncfusion/ej2-angular-buttons": "^16.3.34",
"@syncfusion/ej2-angular-calendars": "^16.3.34",
"@syncfusion/ej2-angular-dropdowns": "^16.3.34",
"@syncfusion/ej2-angular-grids": "^16.3.34",
"@syncfusion/ej2-angular-inputs": "^17.2.36",
"@syncfusion/ej2-angular-lists": "^16.4.52",
"@syncfusion/ej2-angular-navigations": "^16.3.34",
"@syncfusion/ej2-angular-popups": "^16.3.34",
"@syncfusion/ej2-angular-treemap": "^17.1.44",
"@syncfusion/ej2-material-theme": "^16.3.21",
"@syncfusion/ej2-angular-charts": "^17.2.34"



3 Replies

SM Srihari Muthukaruppan Syncfusion Team November 7, 2019 08:03 AM

Hi Samir, 

Greetings from Syncfusion. 

We have analyzed your query. From that, we would like to let you know that, the reported issue has been fixed. Hence we suggest you to update the “@syncfusion/ej2-pdf-export” npm package into V16.3.27 and above to overcome this issue. 
 
Let us know if you need further assistance. 
 
Regards 
Srihari M 



RA RakhiS February 25, 2020 11:27 PM

I am facing same issue. Please help to resolve it.


SM Srihari Muthukaruppan Syncfusion Team February 27, 2020 03:43 AM

Hi RakhiS, 

We have analyzed your query. From that, we would like to let you know that the chart is working fine while upgrading angular version from 6 to 7. Unfortunately we are unable to reproduce the reported scenario. We have also attached the sample used for testing. Please find the below sample, code snippet and screenshot. 
   
  
Code Snippet:  
Package.json: 
 
// add your additional code here 
"dependencies": { 
    "@angular/animations": "~7.2.0", 
    "@angular/common": "~7.2.0", 
    "@angular/compiler": "~7.2.0", 
    "@angular/core": "~7.2.0", 
    "@angular/forms": "~7.2.0", 
    "@angular/platform-browser": "~7.2.0", 
    "@angular/platform-browser-dynamic": "~7.2.0", 
    "@angular/router": "~7.2.0", 
    "@syncfusion/ej2-angular-buttons": "^17.2.47", 
    "@syncfusion/ej2-angular-calendars": "^17.2.49", 
    "@syncfusion/ej2-angular-charts": "*", 
    "@syncfusion/ej2-charts": "*", 
    "@syncfusion/ej2-angular-dropdowns": "^17.2.49", 
    "@syncfusion/ej2-angular-inputs": "^17.2.52", 
    "@syncfusion/ej2-angular-navigations": "^17.2.49", 
    "@syncfusion/ej2-angular-richtexteditor": "^17.2.52", 
    "@syncfusion/ej2-base": "^17.2.49", 
    "@syncfusion/ej2-buttons": "^17.2.47", 
    "@syncfusion/ej2-calendars": "^17.2.49", 
    "@syncfusion/ej2-navigations": "^17.2.49", 
    "@syncfusion/ej2-popups": "^17.2.47", 
    "@syncfusion/ej2-angular-pivotview": "*", 
    "@syncfusion/ej2-pivotview": "*", 
    "core-js": "^2.5.4", 
    "rxjs": "~6.3.3", 
    "tslib": "^1.9.0", 
    "zone.js": "~0.8.26" 
  }, 
  "devDependencies": { 
    "@angular-devkit/build-angular": "~0.13.0", 
    "@angular/cli": "~7.3.9", 
    "@angular/compiler-cli": "~7.2.0", 
    "@angular/language-service": "~7.2.0", 
    "@types/node": "~8.9.4", 
    "@types/jasmine": "~2.8.8", 
    "@types/jasminewd2": "~2.0.3", 
    "codelyzer": "~4.5.0", 
    "jasmine-core": "~2.99.1", 
    "jasmine-spec-reporter": "~4.2.1", 
    "karma": "~4.0.0", 
    "karma-chrome-launcher": "~2.2.0", 
    "karma-coverage-istanbul-reporter": "~2.0.1", 
    "karma-jasmine": "~1.1.2", 
    "karma-jasmine-html-reporter": "^0.2.2", 
    "protractor": "~5.4.0", 
    "ts-node": "~7.0.0", 
    "tslint": "~5.11.0", 
    "typescript": "~3.2.2" 
  } 

Screenshot: 
 
 
If you still face this issue. kindly revert us with the following information which will be more helpful for further analysis and provide you the solution sooner. 
  • Share your dataSource file
  • Try to reproduce the reported scenario in the above sample
  • Please share your sample (or) code snippet with full configurations.
  • Share the details if you have done any other customization in your sample.
Let us know if you have any concerns. 
 
Regards, 
Srihari M 


Loader.
Live Chat Icon For mobile
Up arrow icon