Mobterest / dart_frog_tutorial

About All course files for the Mobterest [ Dart Frog course tutorial ] on YouTube.
16 stars 2 forks source link

dart_frog not recognized! #1

Closed immanewel closed 9 months ago

immanewel commented 9 months ago

I am using windows I have successful installed dart_frog_cli by the following command

dart pub global activate dart_frog_cli

when I list the globals I see dart_frog using the following command

dart pub global list

but when creating a project using the following command

dart_frog create hello_world

I get the following mesage

'dart_frog' is not recognized as an internal or external command, operable program or batch file.

image

Mobterest commented 9 months ago

Hey there.

I have found this solution to help: Try close the command line/terminal and restart the IDE

immanewel commented 9 months ago

Thanks for the suggestion, I even restart the machine without success. I will pick your brain tomorrow for further elaboration.

immanewel commented 9 months ago

I have solved it, it had something to do with environment variables. After setting C:\Users\<user>\AppData\Local\Pub\Cache\bin it worked