Open missinglink opened 3 years ago
Here's a docker one-liner which can be used to reproduce this issue:
docker run \
--rm -it \
-v "${PWD}:/code" \
--entrypoint='bash' \
node:latest \
-c 'cd /code; rm -rf node_modules; npm install'
changing the last line to remove package-lock.json
resolves the issue:
-c 'cd /code; rm -rf node_modules; rm package-lock.json; npm install'
something funky is going on with npm
, possibly from back when either geocodeearth/autocomplete-element
or geocodeearth/core-js
were in development and were private.
I noticed for geocodeearth/ge
that I needed to add the following settings to my package.json
because npm
appeared to publish org scoped packages as private by default.
"publishConfig": {
"access": "public"
}
Thank you so much!!! I tried so many other fixes that didn't work and this was the fix! Thanks!
When running
npm install
on the repo I'm getting an "Incorrect or missing password" error fromnpm
.Deleting the
package-lock.json
file resolves the issue and allows me to install the dependencies.