Skip to content

When running the register executor on nx v21, it installs the @nx/key package randomly. #171

@zjkipping

Description

@zjkipping

Hello!

For some reason after upgrading to nx v21 in our monorepo, running the register executor from this nx plugin installs the @nx/key npm package and then promptly errors out. This package is only needed with Nx's powerpack setup and breaks things if installed without having an enterprise setup. This doesn't happen with any other executors or generators as far as I am aware. If I revert back to v20 via git it runs without any trouble.

This might possibly be an issue since the forge package is on nx v20? or is there a naming collision between the register command from this plugin and some inferred executor from an nx plugin?

Running the forge register manually doing npx nx forge <project-name> register <forge-app-name> works just fine. Though not a great workaround since you have to manually copy paste the new registered ID from the dist to the real manifest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions