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
We added this check to prevent tarballs in the cache from being overwritten. For example, there is a registry package and a URL package that share the identical tarball name.
The problem is when a dependency uses an alias, which apparently leads yarn to create duplicate records inside yarn.lock if that dependency is already required. Cachi2 "detects" this collision and refuses to proceed with the request.
Related to: #634
We added this check to prevent tarballs in the cache from being overwritten. For example, there is a registry package and a URL package that share the identical tarball name.
The problem is when a dependency uses an alias, which apparently leads
yarn
to create duplicate records insideyarn.lock
if that dependency is already required. Cachi2 "detects" this collision and refuses to proceed with the request.Example of
npm
aliases:To reproduce this behavior:
One of multiple dependencies that are present twice in the
yarn.lock
:wrap-ansi@^7.0.0
npm alias - https://github.com/kiali/kiali/blob/v2.2/frontend/yarn.lock#L13533
yarn - https://github.com/kiali/kiali/blob/v2.2/frontend/yarn.lock#L13551
The text was updated successfully, but these errors were encountered: