Skip to content

TypeError: this.env.error is not a function #75

Description

@shazron

DEBUG=* aio templates install @adobe/generator-add-action-generic

  @adobe/aio-cli-plugin-app-templates:error TypeError: this.env.error is not a function
  @adobe/aio-cli-plugin-app-templates:error     at new ActionGenerator (/Users/shaz/Desktop/tmp/test-app-prod/node_modules/@adobe/generator-app-common-lib/lib/ActionGenerator.js:30:16)
  @adobe/aio-cli-plugin-app-templates:error     at new GenericGenerator (/Users/shaz/Desktop/tmp/test-app-prod/node_modules/@adobe/generator-add-action-generic/index.js:18:5)
  @adobe/aio-cli-plugin-app-templates:error     at FullEnvironment.instantiate (file:///Users/shaz/Documents/git/Github.com/adobe/aio-cli-plugin-app-templates/node_modules/yeoman-environment/dist/environment-base.js:260:27)
  @adobe/aio-cli-plugin-app-templates:error     at InstallCommand.run (/Users/shaz/Documents/git/Github.com/adobe/aio-cli-plugin-app-templates/src/commands/templates/install.js:65:27)
  @adobe/aio-cli-plugin-app-templates:error     at async InstallCommand._run (/Users/shaz/Documents/git/Github.com/adobe/aio-cli-plugin-app-templates/node_modules/@oclif/core/lib/command.js:182:22)
  @adobe/aio-cli-plugin-app-templates:error     at async Config.runCommand (/Users/shaz/.nvm/versions/node/v24.9.0/lib/node_modules/@adobe/aio-cli/node_modules/@oclif/core/lib/config/config.js:329:25)
  @adobe/aio-cli-plugin-app-templates:error     at async run (/Users/shaz/.nvm/versions/node/v24.9.0/lib/node_modules/@adobe/aio-cli/node_modules/@oclif/core/lib/main.js:89:16)
  @adobe/aio-cli-plugin-app-templates:error     at async AIOCommand.run (/Users/shaz/.nvm/versions/node/v24.9.0/lib/node_modules/@adobe/aio-cli/src/index.js:38:12)

https://github.com/adobe/generator-app-common-lib/blob/8fb8dc79f9baab9a537b14dd1d069e0122acba60/lib/ActionGenerator.js#L30

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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