Skip to Content

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

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!

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Jul 17, 2018 at 07:18 AM

    "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

    Add comment
    10|10000 characters needed characters exceeded

    • 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?