cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying UI5 App from Web IDE Full Stack - Cannot set property 'name' of undefined

Former Member
0 Kudos

Hi All,

I just migrated a custom UI5 app from the standard Web IDE to the full stack IDE. The app was already deployed on an ABAP repository. After migrating the app I also followed the guide to build the component-preload.js with Grunt. The build is successful and faces no errors. Application runs successfully from Web IDE Full Stack.

However after I finish the deployment wizard, the application is successfully built and then fails on deployment with the error: "Cannot set property 'name' of undefined" I do not see any SU53 or other error in the ABAP system.

The application can still be deployed from old/standard Web IDE (no component-preload.js file there). Has anyone faced a similar issue?

Any tips/insights appreciated, thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

brian_keenan
Advisor
Advisor
0 Kudos

"Cannot set property 'name' of undefined" is a javascript error so check in F12 where it is occuring, and put a breakpoint. It should help

Former Member
0 Kudos

So I deleted the files related to Grunt and component-preload.js and I was able to deploy now, so it seems like the error is created due to something related to the build even though it works fine from WEB IDE. I did notice is that no 'dist' folder is created during the build process. Would you happen to know anything about that behavior?