Skip to content

fix: ACNA-4397 - TypeError: opts.getPluginsList is not a function#778

Merged
shazron merged 3 commits intomasterfrom
type-error-fix
Mar 10, 2026
Merged

fix: ACNA-4397 - TypeError: opts.getPluginsList is not a function#778
shazron merged 3 commits intomasterfrom
type-error-fix

Conversation

@shazron
Copy link
Member

@shazron shazron commented Mar 10, 2026

Closes #776

Description

https://github.com/oclif/core/releases/tag/4.8.4 released earlier today, is causing the issue.

It is a dependency of @oclif/plugin-plugins. When I tested with v4.8.3, it doesn't cause the issue. Because of semver, whenever you updated the plugins-plugin (through a cli reinstall) it will update the patch version.

The problem is... we can't update any plugins (which would be a workaround) because the plugins-plugin is broken.

Fix is to either:

  1. pin the @oclif/plugin-plugins @oclif/core sub-dependency to 4.8.3.
  2. pin @adobe/aio-cli's @oclif/core to at least v2.11.9: oclif/core@2.11.9...2.11.10

We will use option 2 since it is the least risky update without updating a major version (which requires extensive testing).

Motivation and Context

Add ability to install plugins without getting the error.

How Has This Been Tested?

Local test via ./bin/run plugins (remove node_modules and package-lock.json, run npm i)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codecov
Copy link

codecov bot commented Mar 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@shazron shazron merged commit ee78217 into master Mar 10, 2026
11 checks passed
@shazron shazron deleted the type-error-fix branch March 10, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeError: opts.getPluginsList is not a function

3 participants