Skip to content

Fix clean installation with current npm versions - #3154

Open
Solarboaters wants to merge 1 commit into
serialport:mainfrom
Solarboaters:fix/npm-clean-install-lockfile
Open

Solarboaters wants to merge 1 commit into
serialport:mainfrom
Solarboaters:fix/npm-clean-install-lockfile

Conversation

@Solarboaters

Copy link
Copy Markdown

Fixes #3150. Add the missing optional encoding dependency to the lockfile and update its required iconv-lite entry; leave unrelated packages and peer metadata unchanged.

On Node 24.22.3, the original npm ci fails with the reported missing/invalid entries. The corrected lockfile installs cleanly with npm 11.6.2 (normal install) and 12.2.3 (--ignore-scripts). Build, typecheck and lint pass; the existing software suite passes 195 tests with one pending. No serial hardware was tested.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

npm ci fails "Missing: encoding@0.1.14 from lock file"

1 participant