Hey, we recently tried upgrading from bs-platform to rescript (yay) but unfortunately during cleaning and building, we received the following error:
rescript: [1/3] src/common/bisect_common-Bisect.cmj
FAILED: src/common/bisect_common-Bisect.cmj
File "/Users/peter/Projects/draftbit/builder/node_modules/bisect_ppx/src/common/bisect_common.ml", line 183, characters 3-20:
Error: Unbound module Marshal
FAILED: cannot make progress due to previous errors.
Failure: /Users/peter/Projects/draftbit/builder/node_modules/rescript/darwin/ninja.exe
Location: /Users/peter/Projects/draftbit/builder/node_modules/bisect_ppx/lib/bs
error Command failed with exit code 2.
It sounds like it has something to do with bisect_ppx. That being said, I’m not sure what this means for us moving forward. Any help would be great, thanks!
We rely on the following bs-dependencies:
"@ahrefs/bs-emotion",
"@draftbit/re-font-awesome",
"@draftbit/variable-json",
"@glennsl/bs-json",
"bs-js-collections",
"bs-react-tabs",
"bs-storybook",
"bs-tinycolor",
"bs-webapi",
"decco",
"re-classnames",
"reason-apollo",
"reason-apollo-hooks",
"reason-react",
"reason-react-hooks",
"relude-parse"
and the following ppx flags:
"ppx-flags": [
"decco/ppx",
[
"@dylanirlbeck/tailwind-ppx/tailwind-ppx",
"-path ./src/waterloo/tailwind.css"
],
["@baransu/graphql_ppx_re/ppx6", "-apollo-mode"],
"@ahrefs/bs-emotion-ppx/ppx",
"get_in_ppx/ppx"
],