Skip to content

Add support for the s390x architecture #1075

@pa1511

Description

@pa1511

We get the following output when building our project on Red Hast OpenShift.
If I understand correctly the problem is that the architecture s390x is not supported by lightningcss.
If possible, please add the needed support.

❯ Building...
at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)
at Module.require (node:internal/modules/cjs/loader:1487:12)
requireStack: [
const err = new Error(message);
code: 'MODULE_NOT_FOUND',
]
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)
at require (node:internal/modules/helpers:135:16)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at Object.<anonymous> (/tmp/src/node_modules/lightningcss/node/index.js:22:22)
- /tmp/src/node_modules/@angular-devkit/architect/node/node-modules-architect-host.js
- /tmp/src/node_modules/@angular/build/src/builders/application/execute-build.js
- /tmp/src/node_modules/@angular/build/src/builders/application/index.js
- /tmp/src/node_modules/@angular/build/src/builders/application/setup-bundling.js
- /tmp/src/node_modules/@angular/build/src/tools/esbuild/angular/component-stylesheets.js
- /tmp/src/node_modules/@angular/build/src/tools/esbuild/stylesheets/bundle-options.js
- /tmp/src/node_modules/@angular/build/src/tools/esbuild/stylesheets/stylesheet-plugin-factory.js
- /tmp/src/node_modules/@tailwindcss/node/dist/index.js
- /tmp/src/node_modules/@tailwindcss/postcss/dist/index.js
- /tmp/src/node_modules/lightningcss/node/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1401:15)
at Module._load (node:internal/modules/cjs/loader:1211:37)
at Module._compile (node:internal/modules/cjs/loader:1730:14) {
'/tmp/src/node_modules/lightningcss/node/index.js',
'/tmp/src/node_modules/@tailwindcss/postcss/dist/index.js',
Error: Cannot find module '../lightningcss.linux-s390x-gnu.node'

These are the relevant package version

    "@angular/cdk": "20.0.6",
    "@tailwindcss/postcss": "4.1.14",
    "postcss": "8.5.6",
    "tailwindcss": "4.1.14",

It is built with node 22.16.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions