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
Some npm packages from https://repository.engineering.redhat.com/nexus/repository/ can't be installed due to network error. If I change these dependencies's download url to registry.npmjs.org in package-lock.json. the npm install command completed OK.
Question
Is there some difference between packages from repository.engineering.redhat.com and registry.npmjs.org ?
The text was updated successfully, but these errors were encountered:
There should be no difference. Yes to replacing all entries in the resolved field with registry.npmjs.org as that's the proper approach. I wasn't able to reproduce your error though, even with a completely empty cache & node_modules. Looking into the issue, it seems like the resolved field is only used to avoid re-fetching package metadata when it exists locally (among other things). It also looks like your configured registry will always be used to fetch the packages (and not what's listed in the resolved field).
rgrunber
changed the title
Can't install some dependencies from repository.engineering.redhat.com when run npm install
Can't install some dependencies from non-standard NPM registry when run npm install
Jul 4, 2023
Environment
Steps To Reproduce
npm install --verbose
Current Result
Some npm packages from
https://repository.engineering.redhat.com/nexus/repository/
can't be installed due to network error. If I change these dependencies's download url toregistry.npmjs.org
inpackage-lock.json
. thenpm install
command completed OK.Question
Is there some difference between packages from
repository.engineering.redhat.com
andregistry.npmjs.org
?The text was updated successfully, but these errors were encountered: