Fails in CircleCI
kyeotic opened this issue · comments
Tim Kye commented
This works locally, but errors with the following in CircleCI
#!/bin/bash -eo pipefail
npm install
npm WARN lifecycle dev-portal@3.0.0~preinstall: cannot run in wd dev-portal@3.0.0 npx npm-force-resolutions (wd=/tmp/app)
Lazar Vučković commented
Please take a look at my comment from another issue on how I managed to resolve it with a dirty workaround.
Ronald Barendse commented
This doesn't work, because you should be using npm ci
with an already patched package-lock.json
: https://docs.npmjs.com/cli/ci.html