You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after I write this line "dart pub global activate dart_frog_cli" it shows the following warning line "Warning: Pub installs executables into $HOME/.pub-cache/bin, which is not on your path.
You can fix that by adding this to your shell's config file (.bashrc, .bash_profile, etc.):
export PATH="$PATH":"$HOME/.pub-cache/bin""
and when I write the command line "dart_frog create my_project"
then it says "zsh: command not found: dart_frog"
Please guide me to fix it.
Thanks a lot.
The text was updated successfully, but these errors were encountered:
I believe this is not a Dart Frog related issue, but instead a problem you're experiencing because you have not added $HOME/.pub-cache/bin to your path.
Assuming you're using the Z shell (zsh) you may simply resolve by opening your file ~/.zshrc and adding:
Hi @NBPTruong, seems like this is a local setup issue and not something that would be a code change or fix in Dart Frog. Given that I'm closing this out as "won't fix"
after I write this line "dart pub global activate dart_frog_cli" it shows the following warning line "Warning: Pub installs executables into $HOME/.pub-cache/bin, which is not on your path.
You can fix that by adding this to your shell's config file (.bashrc, .bash_profile, etc.):
export PATH="$PATH":"$HOME/.pub-cache/bin""
![image](https://private-user-images.githubusercontent.com/153047976/300333818-ac0ad404-fd8d-479d-b63f-977fd44050a9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxNDI3MTUsIm5iZiI6MTcxOTE0MjQxNSwicGF0aCI6Ii8xNTMwNDc5NzYvMzAwMzMzODE4LWFjMGFkNDA0LWZkOGQtNDc5ZC1iNjNmLTk3N2ZkNDQwNTBhOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyM1QxMTMzMzVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yNjNlNWMzZjUyMDE3YWNmODBjMzQ5M2FmZTU4M2JiZjMyMzEzZTlmODYyYjM4MjYwNTEyMDVkOGJiOWJhODQ1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.6m1rA5W6LJZ4IbLvNxZuIMrpuFBWI_n7FECXP6kxDGM)
and when I write the command line "dart_frog create my_project"
then it says "zsh: command not found: dart_frog"
Please guide me to fix it.
Thanks a lot.
The text was updated successfully, but these errors were encountered: