adobe / adobe/aio-cli

aio app add event fails

Open
#595 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
95
Forks
45
PR merge metrics
No merged PRs in 30d

Description

### Expected Behaviour

add event works without error

### Actual Behaviour

✔ Installed npm package @adobe/generator-add-events-generic
ℹ Running template @adobe/generator-add-events-generic
› Error: Cannot destructure property 'namespace' of 'generator.options' as it is undefined.

### Reproduce Scenario (including but not limited to)

aio app add event

#### Steps to Reproduce

#### Environment Info
```
System:
OS: macOS 14.2.1
CPU: (10) arm64 Apple M1 Max
Memory: 135.77 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node
Yarn: 1.22.19 - ~/.bun/bin/yarn
npm: 10.2.3 - ~/.nvm/versions/node/v18.19.0/bin/npm
Virtualization:
Docker: 20.10.17 - /usr/local/bin/docker
npmGlobalPackages:
@adobe/aio-cli: 10.0.0
```
#### Sample Code that illustrates the problem

#### Logs taken while reproducing problem

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.