Norbert515 / detective

35 stars 2 forks source link

[ubuntu 22] No active package detective. #11

Closed octav8us closed 1 year ago

octav8us commented 1 year ago

upon writing flutter pub global run detective I get

No active package detective.

Norbert515 commented 1 year ago

How did you install it? Installing and running needs to be done with the same command.

octav8us commented 1 year ago

just typed flutter pub global activate -sgit https://github.com/Norbert515/detective.git

Norbert515 commented 1 year ago

Can you activate it with Dart instead of Flutter? Alternatively, try re-installing it.

Here is a link explaining the activation of packages: https://dart.dev/tools/pub/cmd/pub-global#running-a-script-from-your-path

octav8us commented 1 year ago

it worked when i tried it with dart instead of flutter. thanks