spotify/web-api-examples

Cannot `npm install` in `get_user_profile` because of internal Spotify Artifactory links

Opened this issue · 0 comments

The package-lock.json resolves tarballs to internal artifactory.spotify.net links that can't be reached by the public, e.g.

"resolved": "https://artifactory.spotify.net/artifactory/api/npm/virtual-npm/@esbuild/android-arm/-/android-arm-0.16.17.tgz",

This causes npm install to get stuck.

You should probably:

  1. rm package-lock.json
  2. npm_config_registry="https://registry.npmjs.org/" npm install

To regenerate the lock-file with usable tarball URLs (and to not potentially leak implementation details of your internal Artifactory setup to the public 🤓).