Skip to content

ng doc <keyword> not working #10633

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

Closed
KissBalazs opened this issue May 4, 2018 · 1 comment · Fixed by #10648
Closed

ng doc <keyword> not working #10633

KissBalazs opened this issue May 4, 2018 · 1 comment · Fixed by #10648
Labels
freq2: medium P1 Impacts a large percentage of users; if a workaround exists it is partial or overly painful severity5: regression

Comments

@KissBalazs
Copy link

Versions

Angular CLI: 6.0.0
Node: 9.4.0
OS: linux x64
Angular: 6.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.0
@angular-devkit/build-angular     0.6.0
@angular-devkit/build-optimizer   0.6.0
@angular-devkit/core              0.6.0
@angular-devkit/schematics        0.6.0
@ngtools/webpack                  6.0.0
@schematics/angular               0.6.0
@schematics/update                0.6.0
rxjs                              6.1.0
typescript                        2.7.2
webpack                           4.6.0

Repro steps

  • type the command ng doc hello

Observed behavior

opn_1.default is not a function
TypeError: opn_1.default is not a function
    at DocCommand.<anonymous> (/home/forest/Projects/ui-concept/node_modules/@angular/cli/commands/doc.js:41:33)
    at Generator.next (<anonymous>)
    at /home/forest/Projects/ui-concept/node_modules/@angular/cli/commands/doc.js:7:71
    at new Promise (<anonymous>)
    at __awaiter (/home/forest/Projects/ui-concept/node_modules/@angular/cli/commands/doc.js:3:12)
    at DocCommand.run (/home/forest/Projects/ui-concept/node_modules/@angular/cli/commands/doc.js:36:16)
    at /home/forest/Projects/ui-concept/node_modules/@angular/cli/models/command-runner.js:278:30
    at Generator.next (<anonymous>)
    at fulfilled (/home/forest/Projects/ui-concept/node_modules/@angular/cli/models/command-runner.js:4:58)
    at <anonymous>

Desired behavior

Should be able to see some kind of documentation? Or default at least?

Mention any other details that might be useful (optional)

Just updated to angular 6, never tried that command before.

@filipesilva filipesilva added P1 Impacts a large percentage of users; if a workaround exists it is partial or overly painful freq2: medium severity5: regression labels May 4, 2018
filipesilva added a commit to filipesilva/angular-cli that referenced this issue May 4, 2018
filipesilva added a commit that referenced this issue May 4, 2018
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
freq2: medium P1 Impacts a large percentage of users; if a workaround exists it is partial or overly painful severity5: regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants