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
{{ message }}
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
I was referencing a dependency as ssh://git@github.com:MyOrg/MyRepo and in another place as ssh://git@github.com/MyOrg/MyRepo and it caused corruption of the package in the cache leading to install errors.
The text was updated successfully, but these errors were encountered:
There are actually three problems in caching git dependencies that this issue highlights:
These different Git URLs should normalize to the same representation inside the relevant cache code.
Placing the package tarball in $HOME/.npm/package/0.0.0/package.tgz should be done atomically.
There should be an inflight cache for writes to the package.tgz that disallows more than one cache write to be inflight, even without the atomic writes.
Who knows how many other weird subtleties fixing this will address.
I was referencing a dependency as
ssh://git@github.com:MyOrg/MyRepo
and in another place asssh://git@github.com/MyOrg/MyRepo
and it caused corruption of the package in the cache leading to install errors.The text was updated successfully, but these errors were encountered: