parcel-bundler / parcel-bundler/lightningcss

Integrating lightningcss-loader causes webpack bus error

Open
#671 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

pending triage
Dominant language
Rust
Stars
7.7k
Forks
302
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm opening this issue in reference to go-gitea/gitea#29058.

Long story short, I'm trying to build gitea which uses lightningcss-loader 2.1.0. I use node v18.19.0. The build (make) stopped when webpack dumps the core dump due to bus error. Passing NODE_OPTIONS="--max-old-space-size=4096" doesn't seemingly help in this case.

I don't have a time to examine core dumps in depth, so attached below.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Gitea build with make, Node v18.19.0, and lightningcss-loader 2.1.0. Compare the attached webpack and lightningcss core dumps with the dump info to identify the bus-error cause; done means the build completes without the crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, webpack
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.