[NPMCLI-111] mgnl build throws if no argument given Created: 07/Mar/17 Updated: 20/Mar/17 Resolved: 16/Mar/17 |
|
| Status: | Closed |
| Project: | Magnolia CLI |
| Component/s: | None |
| Affects Version/s: | 2.0 |
| Fix Version/s: | 2.1.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 87 |
| Story Points: | 0.5 |
| Description |
|
Expected: the help text for the command. Currently: $ mgnl build ERR! ENOENT: no such file or directory, scandir 'node_modules' ERR! Error: ENOENT: no such file or directory, scandir 'node_modules' ERR! at Error (native) ERR! at Object.fs.readdirSync (fs.js:951:18) ERR! at getLightModules (/Users/robert/magnolia/npm-cli/node_modules/@magnolia/magnolia-build/build.js:21:24) ERR! at build (/Users/robert/magnolia/npm-cli/node_modules/@magnolia/magnolia-build/build.js:55:22) ERR! at Object.<anonymous> (/Users/robert/magnolia/npm-cli/bin/mgnl-build.js:24:1) ERR! at Module._compile (module.js:556:32) ERR! at Object.Module._extensions..js (module.js:565:10) ERR! at Module.load (module.js:473:32) ERR! at tryModuleLoad (module.js:432:12) ERR! at Function.Module._load (module.js:424:3) ERR! ERR! ERR! mgnl: 2.0.1-snapshot node: v6.5.0 os: darwin ERR! please open an issue including this log on https://jira.magnolia-cms.com/browse/NPMCLI |