Skip to content

Using the workfront-ui-ext-tpl causes error in this plugin #155

@fgeldenhuys

Description

@fgeldenhuys

Describe the bug
After creating a project using the https://github.com/adobe/workfront-ui-ext-tpl template, or adding a Workfront UI extension to another project, this plugin fails like this:

aio app dev -v -e workfront/ui/1
2025-07-29T12:46:25.129Z [@adobe/aio-cli-plugin-app-dev] error: TypeError: Cannot read properties of undefined (reading 'packages')
    at Dev.verifyActionConfig (/opt/homebrew/lib/node_modules/@adobe/aio-cli/node_modules/@adobe/aio-cli-plugin-app-dev/src/commands/app/dev/index.js:105:47)
    at Dev.run (/opt/homebrew/lib/node_modules/@adobe/aio-cli/node_modules/@adobe/aio-cli-plugin-app-dev/src/commands/app/dev/index.js:59:18)
    at async Dev._run (/opt/homebrew/lib/node_modules/@adobe/aio-cli/node_modules/@adobe/aio-cli-plugin-app-dev/node_modules/@oclif/core/lib/command.js:311:22)
    at async Config.runCommand (/opt/homebrew/lib/node_modules/@adobe/aio-cli/node_modules/@oclif/core/lib/config/config.js:329:25)
    at async run (/opt/homebrew/lib/node_modules/@adobe/aio-cli/node_modules/@oclif/core/lib/main.js:89:16)
    at async AIOCommand.run (/opt/homebrew/lib/node_modules/@adobe/aio-cli/src/index.js:38:12)
 ›   Error: Cannot read properties of undefined (reading 'packages')

To Reproduce
Steps to reproduce the behavior:

  1. Create project using the workfront-ui-ext-tpl template
  2. Run it using aio app dev

Expected behavior
The project to run in dev mode without errors.

Desktop (please complete the following information):

  • OS: Mac OS 15
  • Version: @adobe/aio-cli/10.3.4 darwin-arm64 node-v22.17.1

Additional context
Tried both creating from template and manually adding to existing working project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions