Open lhorie opened 5 years ago
More troubleshooting notes:
yarn
from a repo containing the offending package in a yarn.lock to regenerate node_modules also throws the same errorregistry=https://registry.yarnpkg.com
This looks like the same issue as mine.
Resolved it by commenting out all the contents in my .npmrc
.
I just ran into the same issue, https://github.com/facebook/create-react-app/issues/5389
I have the same issue :(
@floydy123 fyi, temporally removing the .npmrc
helped and let me install everything normally see https://github.com/facebook/create-react-app/issues/5389#issuecomment-431775789
Same issue here, these are my versions:
Node v10.0.0
Yarn v0.27.5
MacOS v10.13.6
Temporarily removing the .npmrc
file solved the issue! It's not a solution, but worked for me :)
This seems to be still a thing:
yarn info @svgr/babel-plugin-add-jsx-attribute
Node v8.15.0
Yarn v1.13
Mac v10.13.6
Seems my .npmrc file has an _auth
property which is causing the issue, somehow. I needed that _auth property because artifactory is a terrible npm registry, but it's what i got.
Seeing the same issue. We have a private npm registry which needs authentication. Removing _auth
for the private registry resolved the issue, but I'm unable use both.
@ihalila removing .npmrc dir Users/you/.npmrc. fixes the issue.
@EbramTawfik I hesitate to call it a "fix". It is a very temporary workaround. Once you need to install another package from a protected scope (for a new version or if you've cleared your cache, or for a fresh install) it will break again.
i have already had this issue, It's solved just by removing yarn.lock and then enter command yarn install in terminal
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Yarn fails to install
@xtuc/long
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
The package should get installed
Please mention your node.js, yarn and operating system version.
Node v8.12.0 Yarn v1.10.1 MacOS v10.12.6