Skip to content

command completion is invalid with 1.0.0-beta.11-webpack.8  #1889

@goorockey

Description

@goorockey

Please provide us with the following information:

  1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

    Ubuntu latest 16.04 LTS

  2. Versions. Please run ng --version. If there's nothing outputted, please run
    in a Terminal: node --version and paste the result here:

    angular-cli: local (v1.0.0-beta.11-webpack.8, branch: master)
    node: 6.5.0
    os: linux x64

  3. Repro steps. Was this an app that wasn't created using the CLI? What change did you
    do on your code? etc.

    git clone https://github.com/angular/angular-cli.git
    cd angular-cli
    npm link
    ng completion

  4. The log given by the failure. Normally this include a stack trace and some
    more information.

    $ ng completion
    The specified command completion is invalid. For available options, see ng help.

  5. Mention any other details that might be useful.

    After looking around the source code in addon/ng2/index.js, I think the problem is that command/completion has not default exports.
    It should work after refactoring completion.js to completion.ts and having default export according to other commands.


Thanks! We'll be in touch soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenttype: bug/fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions