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
Set a custom yarn or npm registry (e.g. yarn config set registry http://registry.npmjs.org/). A more realistic example would be an npm proxy that is inside a corporate network where users may not be able to make requests directly to the public registry.
Create an app yarn create react-app app
Expected Behavior
Node modules are requested from the custom registry (in our example http://registry.npmjs.org/) and yarn.lock references the custom registry
Actual Behavior
Node modules are requested from the default registry (https://registry.yarnpkg.com/) and yarn.lock references the default registry. This can fail for users inside networks that can't access these URLs
The text was updated successfully, but these errors were encountered:
Is this a bug report?
Yes
Did you try recovering your dependencies?
N/A
Which terms did you search for in User Guide?
N/A
Environment
N/A
Steps to Reproduce
yarn config set registry http://registry.npmjs.org/
). A more realistic example would be an npm proxy that is inside a corporate network where users may not be able to make requests directly to the public registry.yarn create react-app app
Expected Behavior
Node modules are requested from the custom registry (in our example
http://registry.npmjs.org/
) andyarn.lock
references the custom registryActual Behavior
Node modules are requested from the default registry (
https://registry.yarnpkg.com/
) andyarn.lock
references the default registry. This can fail for users inside networks that can't access these URLsThe text was updated successfully, but these errors were encountered: