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

Angular 8x: Cannot read property 'pvtData' of undefined (UrlAdaptor)

After upgrading to Angular 8 from 7 the grid or more specifically UrlAdaptor stopped working (see screenshots below).
i have already tried to switch  from es2015 to es5 and it did not help.
any idea how to fix this problem?

class SongsUrlAdaptor extends UrlAdaptor {

    constructor() {

    processResponse(): DataResult {
        const original = super.processResponse.apply(this, arguments);
        const songs = original.result.map((item) => { return new Song(item); });
        return {
            result: songs,
            count: original.count

5 Replies

PS Pavithra Subramaniyam Syncfusion Team June 18, 2019 07:15 AM UTC

Hi Viktor, 

Thanks for contacting Syncfusion support. 

From your query we suspect that some duplicate package might be installed in “@syncfusion” folder of node_modules while updating. This may occur due to version mismatch of packages. So we suggest you to delete the “@syncfusion” folder and “package.lock.json” file from your application and follow the steps provided in the below documentation for update the packages. 

Please get back to us if you need further assistance. 
Pavithra S. 

VI Viktor June 18, 2019 08:02 AM UTC

Hi Syncfusion support!
you are the best!:)
i removed the “@syncfusion” folder and “package.lock.json” file from the application then rebuld and the problem is disappear!
thank you !

PS Pavithra Subramaniyam Syncfusion Team June 18, 2019 09:29 AM UTC

Hi Viktor,  

Thanks for your update. 

We are happy to hear that the provided solution is working. 

Please contact us if you need any further assistance. As always, we will be happy to assist you.  

Pavithra S. 

KH kamiyar heidarnezhad February 10, 2020 03:11 PM UTC

I had this problem too. 
and this solution works perfectly for me.

Thanks, Pavithra Subramaniyam

DR Dhivya Rajendran Syncfusion Team February 11, 2020 06:41 AM UTC

Hi Kamiyar, 

Greeting from Syncfusion support. 

We are happy to hear that your problem has been resolved. Please get back to us if your require further assistance from us. 


Live Chat Icon For mobile
Up arrow icon