Skip to content

Remove and fixing npm error notsup Unsupported platform for lightningcss-linux-x64-gnu@1.32.0: wanted {"os":"linux","cpu":"x64"} (current: {"os":"win32","cpu":"x64"})#348

Merged
jbampton merged 1 commit intoNextCommunity:mainfrom
MaxFork:max-updates-fix-windows-lightningcss
Mar 18, 2026
Merged

Remove and fixing npm error notsup Unsupported platform for lightningcss-linux-x64-gnu@1.32.0: wanted {"os":"linux","cpu":"x64"} (current: {"os":"win32","cpu":"x64"})#348
jbampton merged 1 commit intoNextCommunity:mainfrom
MaxFork:max-updates-fix-windows-lightningcss

Conversation

@BaseMax
Copy link
Member

@BaseMax BaseMax commented Mar 18, 2026

No description provided.

@jbampton
Copy link
Member

/gemini review

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request addresses an npm error that occurs on non-Linux platforms due to an incorrect direct dependency on lightningcss-linux-x64-gnu. The change correctly removes this platform-specific package from package.json, allowing npm to handle the optional platform-specific dependencies of lightningcss as intended. The corresponding updates to package-lock.json are also correct and consistent with this change. The pull request effectively resolves the installation issue.

Copy link
Member

@jbampton jbampton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏂

@github-project-automation github-project-automation bot moved this from In progress to Reviewer approved in Next Mar 18, 2026
@jbampton jbampton merged commit 3390279 into NextCommunity:main Mar 18, 2026
2 checks passed
@github-project-automation github-project-automation bot moved this from Reviewer approved to Done in Next Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

2 participants