Error when upgrade to v16.2.46

Hi,

I'm using the syncfusion ej2-react-grids component. It was working fine with version 16.2.41, but when I updated to the latest version 16.2.46, it returned error as follows:

Uncaught TypeError: Cannot read property 'getService' of undefined
    at new e (ej2-grids.umd.min.js:10)
    at e (ej2-base.umd.min.js:10)
    at t.inject (ej2-base.umd.min.js:10)
    at t.r.injectModules (ej2-base.umd.min.js:10)
    at t.r.dataBind (ej2-base.umd.min.js:10)
    at t.setProperties (ej2-base.umd.min.js:10)
    at t.o.setProperties (ej2-grids.umd.min.js:10)
    at t.o.componentWillReceiveProps (ej2-react-base.umd.min.js:10)
    at callComponentWillReceiveProps (react-dom.development.js:11413)
    at updateClassInstance (react-dom.development.js:11605)

Would you please help me? Thanks


1 Reply

VA Venkatesh Ayothi Raman Syncfusion Team August 1, 2018 12:46 PM UTC

Hi Chi, 

Thanks for contacting Syncfusion Support. 

We have checked your query and we have tried to reproduce the issue at our end but it is unsuccessful. We have prepared a simple sample in which we have rendered a Grid with Paging, Filtering, Editing, Sorting , Exporting etc features with latest Essential JavaScript 2 package (v16.2.46). Please refer to the below Sample link. 


Could you Provide the below details on your issue that will be helpful for us to provide a better solution as early as possible. 

  1. Share your Grid code example.
  2. Share the issue reproducing scenario.
  3. Please reproduce the issue in the provided sample if possible.
 
Note: We suspect that the cause of the issue may be the Essential JavaScript 2 packages are not updated properly. So we suggest you delete the ‘node_modules@syncfusion’ folder and ‘package.lock.json’ file in our application and re-install Syncfusion packages using below command. 
 
npm install @syncfusion/ej2-react-grids --save
 
 
 
Please let us know if you have any further assistance on this. 

 

Regards, 
Venkatesh Ayothiraman. 


Loader.
Up arrow icon