Using rspack on s390x #13202
Unanswered
interndeloitte1004-crypto
asked this question in
Q&A
Replies: 1 comment
-
|
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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