One of our users is running into an issue where she cannot open standard objects records like accounts and opportunities without getting an error message. Here's the error message: TypeError: undefined is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration. Does anyone know how to resolve this issue?
12 respostas
Hi all, I faced this issue today after doing so much search got this thread . Still if someone like me lands here let me tell you solution for it . Its Session management issue go to Setup--> Session Management--> Lightning Web Security and mark it checked . I dont know why salesforce dont make this as default .