Skip to content

[BUG] libc field is missing in package-lock.json #8514

@Brooooooklyn

Description

@Brooooooklyn

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

No response

Expected Behavior

No response

Steps To Reproduce

  1. In Linux gnu system
  2. In a plain new npm project
  3. npm install rolldown -D
  4. works as expect during the first installation
  5. rm -rf node_modules
  6. npm install again, both @rolldown/binding-linux-arm64-gnu and @rolldown/binding-linux-arm64-musl are installed

Environment

  • npm: 11.5.2
  • Node.js: v20.18.2
  • OS Name: Ubuntu
  • npm config:
; node bin location = /usr/bin/node
; node version = v20.18.2
; npm local prefix = /home/brooklyn/test/pnpm-missing-libc-test
; npm version = 11.5.2
; cwd = /home/brooklyn/test/pnpm-missing-libc-test
; HOME = /home/brooklyn
; Run `npm config ls -l` to show all defaults.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingNeeds Triageneeds review for next steps

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions