Skip to main content

I created Lwc component to query and print the account details in a lightning data table .

while running the same code in Dev org it runs normally and prints all the values. 

But in Local development server I'm getting this error message

"message": "error parsing or finding aura config: window.Aura not found"

and in console  --> app:9608     POST http://localhost:3333/webruntime/api/apex/execute 500 (Internal Server Error)

Somehow the data from scratch org is not fetchable in my scratch org. 

please let me know if there is any dependency missing in my dev tool setup

답변 7개
  1. 2023년 10월 18일 오전 9:42

    Unfortunately, there is no longer a solution to the problem. We cannot disable the `Security Enhancements for CSRF Tokens for Lightning Apps` release update to eliminate CSRF token validation on the org backend side. We also don't have any workaround other than mock data to be retrieved. There is also no workaround for performing data creation/update operations. 

     

    Deploying the metadata to the server and then saving the page in App Builder after each change doesn't look like a good development flow, similar to how we worked until 2020.

0/9000