-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Received malformed response from registry for undefined. When adding proxy to yarn config file #4771
Comments
Could you also add the flag It should end up making a request to something like "http://abc-pic:8081/nexus/content/repositories/npmjs/{package-name}" so you could pop that URL into your browser and also let us know what the registry sends back as a response. |
@rally25rs This is what I got running the install with the flag
Opening the url |
makes it sound like the registry (or proxy) might be throwing an error when Yarn hits it. The code that prints that message is:
so whatever Yarn happens to be getting back doesn't have a If you want to try debugging this, you could build yarn from the source, and inside that |
@rally25rs I noticed that this behavior only occurs when I set proxy and |
This is not a solution for your bug, but you also get an error like that if you have an illegal package name (such as an empty string |
Prior to today |
+1 |
+1 Having this issue right now |
Now is very slow without |
Getting this issue using create-react-app. Yarn 1.6 |
It back to normal currently :) |
+1 |
Still down :> |
Same here! |
Work for me |
+1 |
Rooting for you guys, don't want to go back to that stone age package manager....SAPM...aka...NPM |
npm is very slow too |
yes npm is also downish. |
so maybe not a yarn issue. |
It's for sure npm issue because https://registry.npmjs.org/ is 503. |
Working again now! |
I just had a successful, create-react-app |
NPM is still causing problems even though I've switched to Yarn? Interesting... |
@knoxcard yarn is on top of npm. |
Amazing. So many things depend on one service and there is no quick way around :/ Something is wrong definitely. |
The day npm is definitely down, we are all doomed. |
Down again. |
Down again +1 |
https://github.com/npm/registry/issues/324 You can follow the status here: |
@flewid-cd Yarn should get beneath NPM and then rise like a Phoenix. |
Down again +1 |
|
Down again... |
@lednhatkhanh Up now. |
Ohhh. It's down again. https://registry.yarnpkg.com/ The yarn registry is down but the it is shown as in operational state on https://status.yarnpkg.com/ |
+1 |
Down Again. |
Was getting the same error for a |
+1 |
What is your back up strategy? npm? |
btw, just so people understand the issue... https://twitter.com/jamiebuilds/status/1000198463269699584 |
I closed this issue since it diverged from the original description quite a lot. @rally25rs feel free to create a new one to track the original issue. |
@joshunger Could you please tell me how to have such a cute and lovely terminal prompt?Wo~~~I like it~~~ |
it often goes away on retrying. See yarnpkg/yarn#4771
yeah the same here |
I have this errors using my Ubuntu VM (Drupal VM) to install packages or to run 'yarn install' and other command. How can those network issues be solved? |
Error: Received malformed response from registry for "webpack". The registry may be down. I am getting this again and again, how we can solve it? |
For anyone else who may be having this problem... for me, it turned out that a package I had installed had an empty name " ". Once I removed that reference, the packages started to flow again :) |
deleted .yarn-lock solved my issue |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
I moved from using bower to yarn, and in my
.bowerrc
file I had as following:And in
.npmrc
file I had as following :So I removed these two files and I run the following commands :
And then I run the following command :
yarn install --force --flat --production --modules-folder src/main/webapp/bower_components
But then I receive this error :
error Received malformed response from registry for undefined. The registry may be down.
Yarn config list
What is the expected behavior?
yarn install works.
Please mention your node.js, yarn and operating system version.
OS : windows 7 win32 x64
node version : 5.1.0
yarn version : 1.2.1
npm version : 3.3.12
The text was updated successfully, but these errors were encountered: