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
When setting PUB_CACHE to a relative path like .pub-cache then dart pub get -v (output below) can not get information about a package included as git-repository defined in pubspec.yaml. Only if PUB_CACHE is an absolute path (e.g. $HOME/.pub-cache) it is working. With Dart Version 3.3.4 there was no issue.
Environment
Dart Version: 3.6.1
OS: Ubuntu 22.04 LTS
Problem
When setting
PUB_CACHE
to a relative path like.pub-cache
thendart pub get -v
(output below) can not get information about a package included as git-repository defined in pubspec.yaml. Only ifPUB_CACHE
is an absolute path (e.g.$HOME/.pub-cache
) it is working. With Dart Version 3.3.4 there was no issue.Maybe we should document this circumstance.
pubspec.yaml
The git-repo does not have any tag. I don't define
ref
, thereforeHEAD
is used.output
Resources
~
sign for PUB_CACHE #3861The text was updated successfully, but these errors were encountered: