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
"-bash: webdev: command not found" #32279
Comments
instead of |
gives: |
I have the same problem and error. This does not work. |
This worked for me:
|
where did you put this? |
@juanjoserodrigolazaro It worked for me too. The problem was the path should be relative to your flutter directory. Put it in |
Also, you'll need to install dev version of dart. Follow this link: |
Thnaks! this helps a lot! |
Is there any solution for window user, I am getting the error after setting the path too. |
@AmbujaAK Try adding |
Run this command in project folder
|
Thanks,this worked for me, too. |
flutter pub global activate webdev |
This resolve with me. export PATH="$PATH:$HOME/flutter/bin:$HOME/flutter/.pub-cache/bin:$HOME/flutter/bin/cache/dart-sdk/bin" |
For Windows users this worked for me: pub global activate webdev |
pub global activate webdev this worked for me, thanks |
Thx my friend |
This works like magic... try it out fellas |
Where did you run this? |
just add it to a new line in your ".bashrc", are you using an operating system other than Linux?
does this help? |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
I am trying to get the web flutter running. Updated the bash_profile with export PATH="~/.pub-cache/bin:$PATH". Still doesn't let me run webdev returning "webdev: command not found". Any ideas how to address that?
The text was updated successfully, but these errors were encountered: