If it helps any further, here is the output from "npm install my-lib --verbose"
The first request is to fetching a file called my-lib (type json) which fails. cache add spec my-lib npm verb addNamed "*" is a valid semver range for my-lib npm verb addNameRange registry:http://artifactory-server:8081/artifactory/npm-virtual/my-lib not in flight; fetching npm verb request uri http://artifactory-server:8081/artifactory/npm-virtual/my-lib npm verb request always-auth set; sending authorization npm info attempt registry request try #1 at 08:43:24 npm verb request id 71ab0bcc8ca8976e npm http request GET http://artifactory-server:8081/artifactory/npm-virtual/my-lib npm http 406 http://artifactory-server:8081/artifactory/npm-virtual/my-lib npm verb headers { server: 'Artifactory/4.2.2', npm verb headers 'x-artifactory-id': 'b4fe49f5ba1b975e:2508873e:1510313266e:-8000', npm verb headers 'artifactory-ui-messages': '[]', npm verb headers 'content-type': 'application/json', npm verb headers 'transfer-encoding': 'chunked', npm verb headers date: 'Sun, 15 Nov 2015 14:43:24 GMT', npm verb headers connection: 'close' } npm verb stack Error: Registry returned 406 for GET on http://artifactory-server:8081/artifactory/npm-virtual/my-lib npm verb stack at CachingRegistryClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:239:14) npm verb stack at Request._callback (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:170:14) npm verb stack at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:354:22) npm verb stack at Request.emit (events.js:110:17) npm verb stack at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1207:14) npm verb stack at Request.emit (events.js:129:20) npm verb stack at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1153:12) npm verb stack at IncomingMessage.emit (events.js:129:20) npm verb stack at _stream_readable.js:908:16 npm verb stack at process._tickCallback (node.js:355:11) npm verb statusCode 406 npm verb pkgid my-lib -- View this message in context: http://forums.jfrog.org/npm-Unable-to-install-private-library-via-virtual-repo-url-tp7580582p7580605.html Sent from the Artifactory - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
