Open
Description
Hello,
I have a project to use private libraries, when I used the command:
ncu --target semver -u
@private-repo/lib1 ^0.82.4 → ^0.82.5
everything's fine
But, when try to check engines
ncu --enginesNode --target semver -u
The process says
@private-repo/lib1 ^0.82.4 → ^0.82.5
ZP: 404 Not Found - GET https://registry.npmjs.org/@private-repo/lib1/0.82.5
at ./node_modules/npm-check-updates/build/index.js:365:974
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Module.Pl [as getEngines] (./node_modules/npm-check-updates/build/index.js:424:1967)
at async ./node_modules/npm-check-updates/build/index.js:534:894 {
headers: [Object: null prototype] {
date: [ 'Fri, 28 Mar 2025 14:12:54 GMT' ],
'content-type': [ 'application/json' ],
'content-length': [ '11' ],
connection: [ 'keep-alive' ],
'cf-ray': [ '9277b99d389eb51f-SCL' ],
'access-control-allow-origin': [ '*' ],
vary: [ 'Accept-Encoding' ],
'set-cookie': [
'_cfuvid=e8WlVX.5s6C9XcQJrBynw1M9ZlEyOxldMo97ecB.uO8-1743171174186-0.0.1.1-604800000; path=/; domain=.npmjs.org; HttpOnly; Secure; SameSite=None'
],
server: [ 'cloudflare' ],
'x-fetch-attempts': [ '1' ]
},
statusCode: 404,
code: 'E404',
method: 'GET',
uri: 'https://registry.npmjs.org/@private-repo/lib1/0.82.5',
body: 'Not Found',
pkgid: '@private-repo/lib1'
}
Unhandled Rejection!
the library use engines config into the packages.json and my project too.
"engines": {
"node": "^18"
},
I am using
node@18.20.8
npm@10.8.2
ncu@17.1.16
My .npmrc
@private-repo:registry=https://gitlab.private-repo.tech/api/v4/projects/12345/packages/npm/
//gitlab.private-repo.tech/api/v4/projects/12345/packages/npm/:_authToken=super-secret-token
Thanks for your time
Best regards.
Metadata
Metadata
Assignees
Labels
No labels