Open N8th8n8el opened 4 years ago
But the package you are requesting is cached inside verdaccio? From the logs verdaccio is trying to get it from npm and get a 404. Are you able to download it from verdaccio directly? Do you have the download url of the package?
Yes it is cached inside verdaccio. npmjs.org is just set as uplink and my private package isn't on there. Also verdaccio responds with a 200 for req: 'GET /PACKAGE_NAME' as you can see from the logs.
Yes I am able to download it directly via npm (npm install mypackage --registry http://localhost:4873)
Can you try to enable debug logging to get more info? Live plugin manager uses "debug" module. You can try to run your app using "DEBUG=*" environment variable. Or a more specific filter. I suspect that verdaccio has a slightly different logic not supported by my lib.
On Wed, Sep 4, 2019, 08:50 N8th8n8el notifications@github.com wrote:
Yes it is cached inside verdaccio. npmjs.org is just set as uplink and my private package isn't on there. Also verdaccio responds with a 200 for req: 'GET /PACKAGE_NAME' as you can see from the logs.
Yes I am able to download it directly via npm (npm install mypackage --registry http://localhost:4873)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/davideicardi/live-plugin-manager/issues/13?email_source=notifications&email_token=AAGQEWRTLY6IVDIQE5L4K3LQH5LB7A5CNFSM4IQ2WLS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD52RP7Y#issuecomment-527767551, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGQEWR53T7QQ5DCANR3BO3QH5LB7ANCNFSM4IQ2WLSQ .
I have no time to test is atm. Will report back whenever I find the time.
I'm running into the same issue. Here is what is happening for me. I wanted to use this package in an Electron environment. This means fetch
as a browser API is available and node-fetch
just returns the native browser implementation instead. When it comes to piping streams node-fetch and browser's fetch are implemented differently, which causes the problem.
@N8th8n8el Are you also inside an Electron environment or similar?
@danielbuechele Can you try to send me some steps to reproduce the problem?
Yes I was.
Version: "electron": "1.8.2"
I am trying to install a package from a private registry (verdaccio) like this:
but it throws this error:
Here is the verdaccio log:
Downloading the same package with npm from the cli works. Any idea?