-
Notifications
You must be signed in to change notification settings - Fork 108
Support question - does the NPM registry respond with tarballs? when? #173
Comments
I have a feeling that |
Yes, it responds with
The response JSON contains See https://github.com/kesla/download-package-tarball, https://github.com/kesla/get-package-json-from-registry, https://github.com/kesla/get-npm-registry-package Yarn, for example, by default uses You might want to also look at https://github.com/verdaccio/verdaccio, https://github.com/krakenjs/kappa, and https://github.com/kesla/offline-npm |
Your second part makes sense, but the first part confuses me. it looks like In other words, when I set up my own registry server, I never see any requests to:
none of the urls end in |
This was a So your particular issue is not that the server does not respond with a A. Which exact commands do you run to 1) clear the B. What are you trying to achieve with this? Why aren't you using the already implemented |
When you do
|
twimc:
I have this question on SO, and I am afraid it might not get an answer:
https://stackoverflow.com/questions/50359954/determine-when-npm-is-making-a-request-for-a-tarball-from-the-registry
I set up a local server to act as a local NPM registry, using:
npm set registry http://localhost:7777
however, when I do an install with a clean cache, my registry server only seems to get requests for JSON. It never seems to get a request for a tarball or actual package data.
My question is - are there some headers in the request to my registry server that I can read to determine if the request is for a tarball?
The text was updated successfully, but these errors were encountered: