Please provide us with the following information:
-
OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Ubuntu latest 16.04 LTS
-
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
-
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
-
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.
-
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.
OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Ubuntu latest 16.04 LTS
Versions. Please run
ng --version. If there's nothing outputted, please runin a Terminal:
node --versionand paste the result here:angular-cli: local (v1.0.0-beta.11-webpack.8, branch: master)
node: 6.5.0
os: linux x64
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
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.Mention any other details that might be useful.
After looking around the source code in
addon/ng2/index.js, I think the problem is thatcommand/completionhas notdefaultexports.It should work after refactoring
completion.jstocompletion.tsand having default export according to other commands.