[NPMCLI-35] Error when creating component with -a availability option, outside the light module Created: 19/Jul/16 Updated: 22/Aug/16 Resolved: 20/Jul/16 |
|
| Status: | Closed |
| Project: | Magnolia CLI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 0.0.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Christopher Zimmermann | Assignee: | Federico Grilli |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | quickwin | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 0.5h | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Sprint: | Basel 53 |
| Story Points: | 1 |
| Description |
|
The error is /usr/local/lib/node_modules/@magnolia/cli/bin/addAvailability.js:122 To reproduce: mgnl create-light-module mod1 Any of the following commands then produce the same error mgnl create-component comp2 -p mod1 -a pages/page1@main - |