Skip to content

Invalid command: karma completion #2351

@nopnop

Description

@nopnop

Expected behaviour

karma completion should return the bash completion script as described by karma --help and `karam completion --help

  • OR -

karma --help should not list the karma completion command anymore

Actual behaviour

karma completion
{ Error: ENOENT: no such file or directory, open '(...absolute path to...)/karma/scripts/karma-completion.sh'
    at Error (native)
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '(...absolute path to...)/karma/scripts/karma-completion.sh' }

Environment Details

  • Karma version (output of karma --version): 1.2.0
  • Relevant part of your karma.config.js file: not relevant

Steps to reproduce the behaviour

  1. Install karma with npm (not git clone)
  2. Run karma --help (see the listed karam completion command)
  3. Run karma completion

Reason

The .npmignore file ignore scriptsdirectory

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions