cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Elements test Uncaught (in promise) TypeError Cannot read properties undefined appComponent

glauco
Active Contributor
0 Kudos

Hi experts.

My older app was giving error when deploying. Im' going for a new try. So I've created a new Fiori Element Overview Page app.
Framework in customer is 1.84.21.

I'm testing it locally in BAS with npm start when I see this error:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'appComponent')

But I think the main error and the first of the errors list is Component-preload.js 404 and I dont know how to solve it as the test flpSandbox was created by the wizard.

As the test/flpSandbox.html was created by the wizard, I don't get why this error is hapenning.

Accepted Solutions (0)

Answers (1)

Answers (1)

glauco
Active Contributor
0 Kudos

Hi. It worked when I deployed and tested in lauchpad.
I think I will leave this post unsolved yet because the error continues in local tests.
And the doubt here is why does local test fail if it worked well in launchpad ?