Closed kodeFant closed 2 years ago
Ah! After looking into bsb, I found that switching out bsb
scripts with rescript
scripts solved the problem.
Switching out these
"scripts": {
...
"re:build": "bsb -make-world",
"re:watch": "bsb -make-world -w",
"re:clean": "bsb -clean-world",
"re:clean-build": "bsb -clean-world -make-world"
},
for these
"scripts": {
...
"re:build": "rescript build",
"re:watch": "rescript build -w",
"re:clean": "rescript clean"
},
seems to have done the trick 👍
Glad you this is now working for you!
Hi :)
First of all, thanks a lot for maintaining the
rescript-react-native
ecosystem! I'm looking into it now in hopes of a more type-safe way to make RN apps. It seems super promising, and seems to have most of the bindings I need 🥇I am having an issue compiling a working
rescript-react-native
project with therescript-react-navigation
bindings.Here is a minimal reproducible repo, based on an expo starter: https://github.com/kodeFant/rescript-react-navigation-issue
I have tried to lock every version to version 6.0.0 to be sure it's all aligned, but does not seem to help.
When I try to run
npm run re:clean-build
, I get this error message: