(CustomUI) Module not found when attempting to migrate to UI Kit

I am gettting module not found for CustomUI part of the module.

Error: Bundling failed: Module not found: Error: Can't resolve xyz/static/context-configuration/build'
at NativeUIBundler.bundle

For customFieldType module, I used to have old UI Kit for view and edit, and CustomUI for contextConfig. Now when I try to use the new UI Kit, by adding “render: native”, and after changing a function to a resource, forge deploy throws error.
It seems like the bundler tries to bundle my customUI as UI Kit even if “render:native” is not present.

manifest:

  jira:customFieldType:
    - key: xyz
      name: xyz
      type: object
      render: native
      resource: main
      formatter:
        expression: "`${value?.value}`"
      contextConfig:
        resource: context-config
        layout: blank
      edit:
        render: native
        resource: edit

Has anyone encountered such a problem?

1 Like