Skip to content

Conversation

@aman19K
Copy link
Contributor

@aman19K aman19K commented Oct 7, 2025

  • Wrap ProgressStrategyRegistry.register() calls in try-catch blocks in export/import modules
  • Update @contentstack/cli-utilities to ~1.14.3 across affected packages

Fixes TypeError during command discovery in @contentstack/cli@2.0.0-beta when running cm:stacks:clone.
The error occurred because module-level code was executing during Oclif's command loading phase
before all dependencies were fully initialized.

@aman19K aman19K marked this pull request as ready for review October 7, 2025 10:58
@aman19K aman19K requested a review from a team as a code owner October 7, 2025 10:58
cs-raj
cs-raj previously approved these changes Oct 7, 2025
@aman19K aman19K merged commit e510cdc into v2-beta Oct 7, 2025
10 checks passed
@aman19K aman19K deleted the fix/DX-3565-module-loading-register-error-beta branch October 7, 2025 11:40
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.

3 participants