Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork149
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
The problemI was trying to build my Expo app which uses this package, and I was running into problems that weren't immediately obvious. After some sleuthing I eventually found this line in the Xcode error log. What I eventually realized is that this package ships only with the Considered solutionI was able to fix it by adding the following to my {// ..."scripts":{// ..."eas-build-post-install":"yarn rescript clean && yarn rescript build"}// ...} This tells the EAS build system to build the rescript files after it runs I think the most straight forward solution is to just add this to the docs and on the website. Just save some people the headache of running into this problem and not being sure how to solve it. Alternatives solutionsI guess the package could bundle |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment
-
The problem is: the location (and content!) of the generated JS files depends on your ReScript (bsconfig.json) configuration, so we can't really provide a solid way for this kind of problem. |
BetaWas this translation helpful?Give feedback.
All reactions
This discussion was converted from issue #763 on May 30, 2022 14:08.