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
OS version: Debian 10 (docker image google/dart:latest and google/dart:beta are failing)
Problem
Running tests with a new version of dart is failing when using env variable PUB_CACHE.
The precompiling executable command is running with wrong path to the dart file, see below.
The image is based on google/dart and this problem first occurred after using a newer version of the docker image. The image google/dart:2.6 is running fine.
Expected behavior
Tests should run without error as in google/dart:2.6.
I was able to track down the dart version: Dart version 2.6 and 2.7 are running fine, it seems to start with the 2.8 branch. The error already occurs in google/dart:2.8.0-dev.1.0.
This was indeed introduced in #2277 we calculate the path of the executable wrongly, basically doubling it by something that ends up likejoin(a, a). But if it is an absolute path it still works.
Until a fix is out you can work around this with pub get --precompile it doesn't have the same issue.
Environment
pub version
: Pub 2.8.0-20.11.betaProblem
Running tests with a new version of dart is failing when using env variable PUB_CACHE.
The precompiling executable command is running with wrong path to the dart file, see below.
The image is based on google/dart and this problem first occurred after using a newer version of the docker image. The image google/dart:2.6 is running fine.
Expected behavior
Tests should run without error as in google/dart:2.6.
Actual behavior
Precompiling executable failing
--trace output
I used
PUB_CACHE=.pub-cache
and obtain the error:The problem lies already inside the
part. The path to the dart file seems to be wrong (twice the path?). All was running fine using older versions of dart docker image.
The text was updated successfully, but these errors were encountered: