Skip to Content
avatar image
Former Member

sap web idea Component-changes.json can not load

I devolpe the sapui5 programe with sap web ide ,but it happen error.

Such as

2017-03-14 14:16:47.394304 Error: resource form3/Component-changes.json could not be loaded from ./Component-changes.json. Check for 'file not found' or parse errors. Reason: Not Found

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Mar 14, 2017 at 06:53 AM

    that is notifies for some smart controls or other ui5 controls, that error wont affect any functionality in your app, can be simply avoided. in order to remove this error from console just add an empty Component-changes.json file in the webapp folder.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 05, 2017 at 01:40 AM

    Hi Jingquan, have you enabled the client build? If you do this by adding project type SAPUI5 Client Build you'll get a dist folder when you deploy. Inside will be a Component-changes.json file.

    It's a good idea to enable the build because it will reduce the start-up time for your app as there will be fewer source files to download.

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks Michal. I thought the Component-changes.json file might be something to do with the flexibility service. It doesn't get created in the build, but the console error does seem to go away. Alternatively it could be something to do with running on the Web IDE Fiori Launchpad Sandbox vs a portal site.

  • Jul 06, 2017 at 11:00 AM

    Perhaps more info on the Component-changes.json file can be found here:

    https://help.sap.com/saphelp_uiaddon10/helpdata/en/a8/e55aa2f8bc4127923b20685a6d1621/frameset.htm

    Regards,
    Michal.

    Add comment
    10|10000 characters needed characters exceeded