0

I am using PnP js in one of my angular 6 project.

I have a function which is defined in the Component, but I am getting this error at run-time when calling from inside the success of PnP SP js:

Uncaught (in promise): TypeError: Cannot read property of undefined

I guess, within PnP block, this keyword is not working.

Any suggestion/solution?

  • Can you please add your code? – Chandani Prajapati Sep 24 at 13:22
  • RESOLVED : It was my mistake, which I have fixed. No issue with PnP core – Sandeep Nandey Sep 25 at 14:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.