Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] "Cannot destructure property 'package' of 'node.target' as it is null" (@eslint/css) #8126

Open
2 tasks done
MikeMcC399 opened this issue Feb 21, 2025 · 1 comment
Open
2 tasks done
Labels
Bug thing that needs fixing Needs Triage needs review for next steps

Comments

@MikeMcC399
Copy link
Contributor

MikeMcC399 commented Feb 21, 2025

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

For the npm module @eslint/css (release css-v0.4.0), a second invocation of npm install @eslint/css@0.4.0 results in:

npm error Cannot destructure property 'package' of 'node.target' as it is null.

Logs:
eslint-css.log

Expected Behavior

No error when repeating npm install @eslint/css@0.4.0

Steps To Reproduce

Execute the following in a bash terminal window:

cd $(mktemp -d)
npm init -y
npm install @eslint/css@0.4.0
npm install @eslint/css@0.4.0

Environment

Initially reported on npm: 11.1.0
Reproducible also on npm: 11.2.0
Node.js: v22.14.0 LTS
OS Name: Ubuntu 24.04.2 LTS
System Model Name: VMware Workstation in Windows 11 x86

; node bin location = /home/mike/n/bin/node
; node version = v22.14.0
; npm local prefix = /tmp/tmp.SZuouQJBNk
; npm version = 11.1.0
; cwd = /tmp/tmp.SZuouQJBNk
; HOME = /home/mike
@MikeMcC399 MikeMcC399 added Bug thing that needs fixing Needs Triage needs review for next steps labels Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps
Projects
None yet
Development

No branches or pull requests

1 participant