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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:





145316 Jun 17,2019 01:27 PM UTC Feb 11,2020 06:41 AM UTC Angular - EJ 2 5
Tags: Grid
Asked On June 18, 2019 06:28 AM UTC

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

Pavithra Subramaniyam [Syncfusion]
Replied On 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. 

Replied On 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 !

Pavithra Subramaniyam [Syncfusion]
Replied On 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. 

kamiyar heidarnezhad
Replied On February 10, 2020 03:11 PM UTC

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

Thanks, Pavithra Subramaniyam

Dhivya Rajendran [Syncfusion]
Replied On 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. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon