[x] I have searched for similiar issues before filing this issue.
node version: 10.15.1
I have a local dependency in my package.json that looks like this:
{
"devDependencies": {
...
"eslint-plugin-internal": "file:devtools/eslint-rules",
...
}
}
Since upgrading to v3.0.5, I get this error when running ncu:
Unhandled rejection PackageNotFoundError: Package `eslint-plugin-internal` could not be found
at packageJson (/usr/lib/node_modules/npm-check-updates/node_modules/package-json/index.js:70:10)
at processTicksAndRejections (internal/process/next_tick.js:81:5)
Looks like this was possibly caused by 529bebad3e4e1e2f26c328d15dc5597f41745995 since [email protected] seems to work fine.
I don't think it was caused by 529beba. There are several commits that went into 3.0.5, so my guess is that it was caused by ba48389ba66e331f323f78bfdd1677ba7a02ac41 ("replace npm cli calls with package-json").
@stoically could you please look into this issue?
I confirm this error also occurs with github hosted packages. It started since 3.0.5 update.
Should be fixed in v3.0.7.
Most helpful comment
Should be fixed in v3.0.7.