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
The taobao registry gives tarball urls for scoped packages in formats like https://registry.npm.taobao.org/@types/prop-types/download/@types/prop-types-15.7.2.tgz, which cannot be parsed by the current regex /\/(?:(@[^/]+)(?:\/|%2f))?[^/]+\/(?:-|_attachments)\/(?:@[^/]+\/)?([^/]+)$/. The result will thus fallback to prop-types-15.7.2.tgz which conflicts with the cache for the package prop-types. This will result in checksum mismatch.
If the current behavior is a bug, please provide the steps to reproduce.
Thank you for submitting this issue. The same issue also prevents me from installing react-router-dom and @types/react-router-dom with the same version tag from taobao npm registry.
Do you want to request a feature or report a bug?
A bug.
What is the current behavior?
The taobao registry gives tarball urls for scoped packages in formats like
https://registry.npm.taobao.org/@types/prop-types/download/@types/prop-types-15.7.2.tgz
, which cannot be parsed by the current regex/\/(?:(@[^/]+)(?:\/|%2f))?[^/]+\/(?:-|_attachments)\/(?:@[^/]+\/)?([^/]+)$/
. The result will thus fallback toprop-types-15.7.2.tgz
which conflicts with the cache for the packageprop-types
. This will result in checksum mismatch.If the current behavior is a bug, please provide the steps to reproduce.
See reproduce-taobao-offline-mirror-error
What is the expected behavior?
The cache files for these two packages should be named differently.
Please mention your node.js, yarn and operating system version.
node.js: v10.15.3
yarn: 1.18.0-0
operating system: macOS mojave 10.14.4 (18E227)
The text was updated successfully, but these errors were encountered: