this.env.error is not a function when adding extensions with `aio app add extension`
- Dominant language
- JavaScript
- Stars
- 95
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
```
aio --version
@adobe/aio-cli/10.3.4 darwin-arm64 node-v18.20.5
```
1. Run `aio app add extension`
2. Select any template
3. I receive this error. Everything else seems to work properly...Am I skipping a step here or something or is this a real issue?
```
✔ Installed npm package @adobe/generator-add-action-target
ℹ Running template @adobe/generator-add-action-target
› Error: this.env.error is not a function
```
Contributor guide
Research direction
Reproduce the failure with aio app add extension using the reported aio-cli version and any template, then inspect how the @adobe/generator-add-action-target template is run. Trace the source of the this.env.error call and verify that adding an extension completes without this error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100