You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.
Well, it simply happens because the collect-fbts script is using the contents of i18n/fbt/.src_manifest.json (in your repo) to collect fbt strings but there simply isn't any.
That file is empty because your current repo does not contain any fbt() or callsite in the src folder.
If you add this code in App.tsx for example:
import fbt from 'fbt';
fbt('foo', 'bar');
const f = <fbt desc="test">foo</fbt>;
And then run yarn manifest && yarn collect-fbts, you should see a different result:
Actually, it's this other error...
🐛 Bug Report
Coming from #141. I am facing the below error in my boilerplate project built in the expo.
To Reproduce
Steps to reproduce the behavior:
1,
git clone https://github.com/dooboolab/dooboo-expo.git
2.
git checkout fbt
3.
yarn
4.
yarn manifest
5.
yarn collect-fbts
Expected behavior
Correctly completes the script.
Link to repo (highly encouraged) or paste
https://github.com/dooboolab/dooboo-expo.git
envinfo
The text was updated successfully, but these errors were encountered: