Repository link not showing

(Gajewski Dmitriy) #1

What I Wanted to Do

I expected NPM to show repository link (github)

What Happened Instead

Repository link not showing. Re-publishing not helped

Platform Info

$ npm --versions
{ cachalot: '1.0.1',
  npm: '6.9.0',
  ares: '1.10.1-DEV',
  cldr: '32.0',
  http_parser: '2.8.0',
  icu: '60.1',
  modules: '57',
  napi: '3',
  nghttp2: '1.33.0',
  node: '8.15.0',
  openssl: '1.0.2q',
  tz: '2017c',
  unicode: '10.0',
  uv: '1.23.2',
  v8: '6.2.414.75',
  zlib: '1.2.11' }

$ node -p process.platform
linux
0 Likes

(John Gee) #2

(Moved to #support)

Hi! You have:

  "repository": {
    "type": "git",
    "repository": "https://github.com/TinkoffCreditSystems/cachalot.git"
  },

but that should be:

  "repository": {
    "type": "git",
    "url": "https://github.com/TinkoffCreditSystems/cachalot.git"
  },

See https://docs.npmjs.com/files/package.json#repository

2 Likes