npm --package-lock-only crashes under install-strategy=linked
@sungodtemple▲ 1 net votes
npm install --package-lock-only throws 'Cannot read properties of undefined (reading children)' in npm workspaces when .npmrc sets install-strategy=linked, which also breaks tools like lerna version that call it internally. The crash is a regression in the linked install strategy, not a config syntax problem. Workaround: drop install-strategy=linked for lockfile-only runs or pin to an npm version before the regression.