[NPMCLI-73] Fix Error Object / Error handling Created: 17/Jan/17 Updated: 02/Feb/17 Resolved: 23/Jan/17 |
|
| Status: | Closed |
| Project: | Magnolia CLI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Robert Kowalski | Assignee: | Robert Kowalski |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| 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 80 |
| Story Points: | 1 |
| Description |
(18:01:03) [robert@tequila-new] ~/magnolia/npm-cli (NPMCLI-68--create-module-next-steps *) $ mgnl create-light-module apple -p test/light-modules/foo INFO: Using configuration at /Users/robert/.nvm/versions/node/v6.5.0/lib/node_modules/@magnolia/cli/lib/config/mgnl-cli.json INFO: Using prototypes at /Users/robert/.nvm/versions/node/v6.5.0/lib/node_modules/@magnolia/cli/lib/config/mgnl-cli-prototypes undefined /Users/robert/.nvm/versions/node/v6.5.0/lib/node_modules/@magnolia/cli/bin/mgnl-create-light-module.js:19 if (e.displayHelp) { ^ TypeError: Cannot read property 'displayHelp' of undefined at Object.<anonymous> (/Users/robert/.nvm/versions/node/v6.5.0/lib/node_modules/@magnolia/cli/bin/mgnl-create-light-module.js:19:8) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) at Function.Module._load (module.js:424:3) at Module.runMain (module.js:590:10) at run (bootstrap_node.js:394:7) at startup (bootstrap_node.js:149:9) at bootstrap_node.js:509:3 |
| Comments |
| Comment by Robert Kowalski [ 19/Jan/17 ] |
|
Quickfix is just 1 story point if general handling of errors is improved in https://jira.magnolia-cms.com/browse/NPMCLI-66 |