-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command completion is invalid with 1.0.0-beta.11-webpack.8 #1889
Comments
BTW, |
Carefully read the warning it gives you:
|
@goorockey Sorry about that, your issue title does not reflect you tried it with that constellation. |
@catull My fault and the title is updated. 😄 |
The project has not been building for a while. If you locally replace node_modules/@angular/tsc-wrapped with a more recent release from https://github.com/angular/tsc-wrapped-builds/releases, then the project builds again. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
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 --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 thatcommand/completion
has notdefault
exports.It should work after refactoring
completion.js
tocompletion.ts
and having default export according to other commands.The text was updated successfully, but these errors were encountered: