cli: running au with 'help' or no options results in TypeError

I’m submitting a bug report

  • Library Version: 0.32.0

Please tell us about your environment:

  • Operating System: Linux (Mint)

  • Node Version: 8.9.4

Current behavior: Running au (no options) or au help results in:

TypeError: Cannot read property 'model' of null
    at module.exports.getLocalCommandText (/home/shawn/node_modules/aurelia-cli/lib/commands/help/command.js:42:32)
    at ui.displayLogo.then (/home/shawn/node_modules/aurelia-cli/lib/commands/help/command.js:24:21)
    at <anonymous>

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 2
  • Comments: 21 (12 by maintainers)

Commits related to this issue

Most upvoted comments

@JeroenVinke as a matter of security I generally don’t npm install anything with -g. Rather than use other approaches I just npm install things I use often in my home directory and have ~/node_modules/.bin in my path. Hence no need to write to protected spots on the filesystem nor reconfigure npm to use a different ‘global’ config.

Awesome

@Alexander-Taran by handle you mean that it displays the message that no project could be found? i’ve confirmed that it does that