Skip to content
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

Could not find a command named "doc". #85

Open
evanholt1 opened this issue Apr 13, 2022 · 0 comments
Open

Could not find a command named "doc". #85

evanholt1 opened this issue Apr 13, 2022 · 0 comments

Comments

@evanholt1
Copy link

evanholt1 commented Apr 13, 2022

Greetings!

I know this may be quite trivial,, but when following this guide:
https://dart.dev/tools/dart-doc
to generate dartdoc for my flutter app,
what i get on the terminal when running dart doc .
from the root directory of my flutter app
is just Could not find a command named "doc".

my dart version is
Dart SDK version: 2.15.1 (stable) (Tue Dec 14 13:32:21 2021 +0100) on "linux_x64",
and i have ran dart pub get successfully on the project beforehand.

I also did install and globally activate
https://pub.dev/packages/dartdoc,
but running dart doc . or dartdoc . neither work.
running dart help doc throws the same command,
and running dart help shows me the available commands, none of which is doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant