I have just run the following command in my cmd
export PATH="$PATH":"$HOME/.pub-cache/bin"
then I again run the command dart pub global activate fvm and the error is gone. In my case, I am having the error during installing fvm package.
I have just run the following command in my cmd
export PATH="$PATH":"$HOME/.pub-cache/bin"
then I again run the command dart pub global activate fvm and the error is gone. In my case, I am having the error during installing fvm package.