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
I have an app that still uses Flutter 3.7.12 so I have that as an "old" environment. I also have the latest as "stable". At some point not that long ago I can no longer run newer (stable) projects. I see this output:
Resolving dependencies...
The current Dart SDK version is 2.19.6.
Because volleyball_hub requires SDK version >=3.3.4 <4.0.0, version solving failed.
pub get failed
The only way to resolve it is to delete the "old" environment.
The text was updated successfully, but these errors were encountered:
johnwiese-ms
changed the title
Issue running new projects if an older environment (pre null safety) exits
Issue running new projects if an older environment (pre null safety) exists
Jul 18, 2024
johnwiese@Johns-MacBook-Pro volleyball_hub % puro version
[!] Other Flutter or Dart installations detected
Puro recommends removing the following from your PATH:
* /Users/johnwiese/.puro/envs/old/flutter/bin//dart
* /Users/johnwiese/.puro/envs/old/flutter/bin//flutter
[i] Puro 1.4.6 (distribution/darwin-x64)
Dart 3.3.3 (stable) (Tue Mar 26 14:21:33 2024 +0000) on "macos_x64"
The problem is the only path setting I can find is in my .zshrc and doesn't have any of those entries:
export PATH="$PATH:$HOME/.puro/bin" # Added by Puro
export PATH="$PATH:$HOME/.puro/shared/pub_cache/bin" # Added by Puro
export PATH="$PATH:$HOME/.puro/envs/default/flutter/bin" # Added by Puro
export PURO_ROOT="/Users/johnwiese/.puro" # Added by Puro
export PUB_CACHE="/Users/johnwiese/.puro/shared/pub_cache" # Added by Puro
PATH=$PATH:/users/johnwiese/Library/Android/sdk
I have an app that still uses Flutter 3.7.12 so I have that as an "old" environment. I also have the latest as "stable". At some point not that long ago I can no longer run newer (stable) projects. I see this output:
The only way to resolve it is to delete the "old" environment.
The text was updated successfully, but these errors were encountered: