Compatibility with 32-bit system

Author: ParsaXpythonCreated Sep 7, 2026Updated Sep 7, 2026

Hello.

I encountered this error while building my project:

Error: Cannot find module '../lightningcss.win32-ia32-msvc.node'
Require stack:
- D:\Test\node_modules\lightningcss\node\index.js
    at Function._resolveFilename (node:internal/modules/cjs/loader:1430:15)
    at defaultResolveImpl (node:internal/modules/cjs/loader:1040:19)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1045:22)
    at Function._load (node:internal/modules/cjs/loader:1216:25)
    at wrapModuleLoad (node:internal/modules/cjs/loader:254:19)
    at Module.require (node:internal/modules/cjs/loader:1527:12)
    at require (node:internal/modules/helpers:147:16)
    at Object.<anonymous> (D:\Test\node_modules\lightningcss\node\index.js:20:12)
    at Module._compile (node:internal/modules/cjs/loader:1781:14)
    at Object..js (node:internal/modules/cjs/loader:1913:10)

This issue seems to be related to compatibility with 32-bit operating systems. The package attempts to load a 64-bit binary by default and fails on 32-bit Windows.

Is there any plan to add official support for 32-bit Windows (ia32) in lightningcss? Or is there a way I can help complete or contribute to this compatibility myself?

Source: parcel-bundler/lightningcss