Using rspack on s390x #13202
Replies: 2 comments
-
|
I hit this exact issue last year when trying to run rspack on an IBM Z runner. The binary bindings aren’t published for s390x, so rspack falls back to trying to parse a garbage blob as JSON, which is why you see the “expected true” error in package.json. First, make sure you have a Rust toolchain installed (rustc 1.70+ and cargo). Then force rspack to build its native module from source instead of downloading a prebuilt binary: # npm
npm config set rspack_force_sync_build true
# or yarn
yarn config set rspack_force_sync_build true
# reinstall
rm -rfrf |
Beta Was this translation helpful? Give feedback.
-
|
s390x isn't in rspack's CI matrix, so the prebuilt binary falls through and something else (probably a shell redirect or empty file) gets parsed as the JSON binary. The error output is that empty/garbage stream. Path forward: build the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Rspack currently does not release a bindings module for the s390x architecture. As a result, running the rspack build command results in errors.
I tried to build multiple versions of core and bindings (1.7.6 , 1.7.5). All of them are leading ot same JSON parsing error.
It would be nice to have any kind of information.
Beta Was this translation helpful? Give feedback.
All reactions