Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example.re not compiling outside of repo #36

Closed
idkjs opened this issue Jul 26, 2020 · 1 comment
Closed

Example.re not compiling outside of repo #36

idkjs opened this issue Jul 26, 2020 · 1 comment

Comments

@idkjs
Copy link
Contributor

idkjs commented Jul 26, 2020

Example.re compiles while in the repo. Tried running it in a fresh project. Got:

// Example.re renamed to something else
// Uncomment this to compile this example outside of this repo
// in this example it's not necessary (since we are running it in the module repo itself)
include ReactNavigation;
...
61 ┆ <Navigator mode=`modal headerMode=`none>
  62 ┆   <Screen name="Main" component=MainStackScreen.make />
  63 ┆   <ScreenWithCallback name="MyModal">
  64 ┆     {({navigation, route}) => <ModalScreen navigation route />}
  65 ┆   </ScreenWithCallback>
  
  The module or file ScreenWithCallback can't be found.
  - If it's a third-party dependency:
    - Did you list it in bsconfig.json?
    - Did you run `bsb` instead of `bsb -make-world`
      (latter builds third-parties)?
  - Did you include the file's directory in bsconfig.json?
  
FAILED: subcommand failed.
>>>> Finish compiling(exit: 1)
@idkjs
Copy link
Contributor Author

idkjs commented Jul 26, 2020

Disregard. Looks like API changed. Thanks.

@idkjs idkjs closed this as completed Jul 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant