content-and-experience-toolkit icon indicating copy to clipboard operation
content-and-experience-toolkit copied to clipboard

Cannot install due to internal npm repo in package-lock.json

Open avtSACH opened this issue 2 years ago • 2 comments
trafficstars

When trying to install the cec cli by:

npm install

The following error accurs:

npm ERR! code ENOTFOUND npm ERR! syscall getaddrinfo npm ERR! errno ENOTFOUND npm ERR! network request to https://artifacthub-phx.oci.oraclecorp.com/api/npm/npmjs-remote/yocto-queue/-/yocto-queue-0.1.0.tgz failed, reason: getaddrinfo ENOTFOUND artifacthub-phx.oci.oraclecorp.com npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config'

package-lock.json references https://artifacthub-phx.oci.oraclecorp.com repository to which users outside of the Oracle development environment have no access.

avtSACH avatar Jan 16 '23 15:01 avtSACH

What folder are you npm installing from?

tcaruth avatar Feb 14 '23 22:02 tcaruth

delete file package-lock.json and try npm install again

hzeng99 avatar Aug 10 '23 18:08 hzeng99