I am getting this issue when compiling on ubuntu/darwin with bucklescript 7.3.1
steps
npx bs-platform -init my-react-app -theme react-hooks
cd my-react-app/
docker run -it --rm --name tmp-node -v "$PWD":/usr/src/app -w /usr/src/app node:12 sh
yarn
yarn build
error
ninja: warning: bad deps log signature or version; starting over
[5/37] Building src/React.cmj
FAILED: src/React.cmj src/React.cmi /usr/src/app/node_modules/reason-react/src/React.js
/usr/src/app/node_modules/bs-platform/linux/bsc.exe -bs-package-name reason-react -bs-package-output commonjs:src -color always -I src -w a -bs-no-version-header -o src/React.cmj src/React.reast
We've found a bug for you!
/usr/src/app/node_modules/reason-react/src/React.re
src/React.cmi
is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.
[7/37] Building src/ReactEvent.reiast
FAILED: subcommand failed.
Failure: /usr/src/app/node_modules/bs-platform/linux/ninja.exe
Location: /usr/src/app/node_modules/reason-react/lib/bs
I am getting this issue when compiling on ubuntu/darwin with bucklescript 7.3.1
steps
error