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
Hello,
I have a problem with scoped packages in yarn offline mirror and my private npm repository (Verdaccio 4.2.1)
The problem is arising when yarn requests information about a @types/events package from my private repository (Verdaccio).
In this response the field versions["3.0.0"].dist.tarball contains http://npm.xxxyyyzzz.ru/@types%2fevents/-/events-3.0.0.tgz but Yarn or NPM repository contains https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz in this field
Response from my private npm repository:
{"name":"@types/events","versions":{"1.1.0":{"name":"@types/events","version":"1.1.0","description":"TypeScript definitions for events","license":"MIT","contributors":[{"name":"Yasunori Ohoka","url":"https://github.com/yasupeke","githubUsername":"yasupeke"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"16119704233cb146d273b3f0f2195ec03afa6fd2101840c82ac0381aa7001295","typeScriptVersion":"2.0","_id":"@types/[email protected]","dist":{"integrity":"sha512-y3bR98mzYOo0pAZuiLari+cQyiKk3UXRuT45h1RjhfeCzqkjaVsfZJNaxdgtk7/3tzOm1ozLTqEqMP3VbI48jw==","shasum":"93b1be91f63c184450385272c47b6496fd028e02","tarball":"http://npm.xxxyyyzzz.ru/@types%2fevents/-/events-1.1.0.tgz"},"maintainers":[{"name":"types","email":"[email protected]"}],"_npmUser":{"name":"types","email":"[email protected]"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/events-1.1.0.tgz_1512318451714_0.5200264598242939"},"directories":{}},"1.2.0":{"name":"@types/events","version":"1.2.0","description":"TypeScript definitions for events","license":"MIT","contributors":[{"name":"Yasunori Ohoka","url":"https://github.com/yasupeke","githubUsername":"yasupeke"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"77df50634244c91df37e85c9c99789b6c252e985898e5c35471b3a6e0f156288","typeScriptVersion":"2.0","_id":"@types/[email protected]","dist":{"integrity":"sha512-KEIlhXnIutzKwRbQkGWb/I4HFqBuUykAdHgDED6xqwXJfONCjF5VoE0cXEiurh3XauygxzeDzgtXUqvLkxFzzA==","shasum":"81a6731ce4df43619e5c8c945383b3e62a89ea86","tarball":"http://npm.xxxyyyzzz.ru/@types%2fevents/-/events-1.2.0.tgz","fileCount":4,"unpackedSize":3167},"maintainers":[{"name":"types","email":"[email protected]"}],"_npmUser":{"name":"types","email":"[email protected]"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/events_1.2.0_1519675393227_0.8009902172945162"},"_hasShrinkwrap":false},"3.0.0":{"name":"@types/events","version":"3.0.0","description":"TypeScript definitions for events","license":"MIT","contributors":[{"name":"Yasunori Ohoka","url":"https://github.com/yasupeke","githubUsername":"yasupeke"},{"name":"Shenwei Wang","url":"https://github.com/weareoutman","githubUsername":"weareoutman"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"ae078136220837864b64cc7c1c5267ca1ceb809166fb74569e637bc7de9f2e12","typeScriptVersion":"2.0","_id":"@types/[email protected]","dist":{"integrity":"sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g==","shasum":"2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7","tarball":"http://npm.xxxyyyzzz.ru/@types%2fevents/-/events-3.0.0.tgz","fileCount":4,"unpackedSize":3784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSS61CRA9TVsSAnZWagAA9CAP+gJPiJUn5TKrULVMnC0E\n3mM4VRyAbfGr6WUPtjowOPVWpjiuqKe7s5qtNPsjNmsqmrAzRuVJzPehRR6h\nBasnMzXehVqjUWBL7+yOXJbgiTO6lyjaTAw24gWyR6KHyLfdS2+h9eED/Ts5\nB/0C0N6NEV+8huS1a7BtCs4Pqjj1rChlMiwMaCpJbatCxCdNRMhxAfM/emCY\ndV5PrLrPAV9Q4+VW5FtGDyET5Kg9soi53Yaj5lgULyvS/pBQKI8kosoPBZqo\n0mkuV6JD06BBBt0qsUO4fRmTnExAs/wa6D763la0LrSoV07z8MzvfHmHmqtj\nF+UeyUf2xq0o+IRIwUgKt5zLx91QOialrXwFEV4IOtay6lXX2rrAf8wF4oLr\nMPhr84+tvUYN8hKqgUGQp51SzNYeBH3xYuOthNVVH8ztAjEELCQ4CrKWiRWh\n7nOS980ngJoKRhDO7bwqVpOQfUpnmbbkmK7s8H+GUTmIBgpWU2LB3GM0m92p\nX4CppcDuR7QjHzfjkfTZbewOYJkVA5Ixyi5SbOxoDnlhQmrBzWiS0yFWQBP5\n3mrimTp19uq2f+fAum4wDCm/SogDtMAlprqF+zSr7oFPiPzeBjWkPNFPQ0by\nJgUKG9hC0GOHYfTy+TEfG/S07hprLtTlY/kcaSTG84KtM+ctuGXHzp7VfUre\nnW8a\r\n=S8NW\r\n-----END PGP SIGNATURE-----\r\n"},"maintainers":[{"name":"types","email":"[email protected]"}],"_npmUser":{"name":"types","email":"[email protected]"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/events_3.0.0_1548299957342_0.08197834543802518"},"_hasShrinkwrap":false}},"time":{"modified":"2019-05-29T21:59:33.350Z","created":"2017-12-03T16:27:31.785Z","1.1.0":"2017-12-03T16:27:31.785Z","1.2.0":"2018-02-26T20:03:13.307Z","3.0.0":"2019-01-24T03:19:17.438Z"},"dist-tags":{"latest":"3.0.0","ts2.0":"3.0.0","ts2.1":"3.0.0","ts2.2":"3.0.0","ts2.3":"3.0.0","ts2.4":"3.0.0","ts2.5":"3.0.0","ts2.6":"3.0.0","ts2.7":"3.0.0","ts2.8":"3.0.0","ts2.9":"3.0.0","ts3.0":"3.0.0","ts3.1":"3.0.0","ts3.2":"3.0.0","ts3.3":"3.0.0","ts3.4":"3.0.0","ts3.5":"3.0.0","ts3.6":"3.0.0"},"_rev":"98-641078b1e7bf01a0","readme":"# Installation\r\n> `npm install --save @types/events`\r\n\r\n# Summary\r\nThis package contains type definitions for events (https://github.com/Gozala/events).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/events\r\n\r\nAdditional Details\r\n * Last updated: Thu, 24 Jan 2019 03:19:08 GMT\r\n * Dependencies: none\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by Yasunori Ohoka <https://github.com/yasupeke>, Shenwei Wang <https://github.com/weareoutman>.","_id":"@types/events","_attachments":{}}
P.S. I have found many issues and I tried apply workarounds from this issues but all these workarounds didn’t help me: #5634#5785#7477
P.S.2. I have found discussion about this problem in the Verdaccio, but they think this problem is in Yarn: verdaccio/verdaccio#1310
The text was updated successfully, but these errors were encountered:
Hello,
I have a problem with scoped packages in yarn offline mirror and my private npm repository (Verdaccio 4.2.1)
The problem is arising when yarn requests information about a
@types/events
package from my private repository (Verdaccio).In this response the field
versions["3.0.0"].dist.tarball
containshttp://npm.xxxyyyzzz.ru/@types%2fevents/-/events-3.0.0.tgz
but Yarn or NPM repository containshttps://registry.npmjs.org/@types/events/-/events-3.0.0.tgz
in this fieldResponse from my private npm repository:
P.S. I have found many issues and I tried apply workarounds from this issues but all these workarounds didn’t help me: #5634 #5785 #7477
P.S.2. I have found discussion about this problem in the Verdaccio, but they think this problem is in Yarn: verdaccio/verdaccio#1310
The text was updated successfully, but these errors were encountered: