This works as designed, from SE-0201:

  • The local package must be declared in the root package or in other local dependencies. This means, it is not possible to depend on a regular versioned dependency that declares a local package dependency.

I believe we used to have a more specific diagnostic for this, it might be a regression that we're not showing that anymore.

1 Like