adobe / adobe/aio-cli-plugin-runtime

export command produces manifest in different format and breaks the app commands

Open
#174 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
21
Forks
33
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
With `aio rt export` the manifest we get looks like below.
```
project:
name: expproj
packages:
__APP_PACKAGE__:
```
Trying any of the app commands eg: `aio app logs` with this exported manifest fails with
```
TypeError: Cannot read property '__APP_PACKAGE__' of undefined
```
This is because app plugin expects the manifest format like below
```
project:
name: expproj
packages:
__APP_PACKAGE__:
```
Notice that `packages` is at the same level as `project`

**To Reproduce**
See above

**Expected behavior**
Should work

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.

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.