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

The module or file Paper can't be found. #83

Open
davesnx opened this issue Sep 6, 2019 · 2 comments
Open

The module or file Paper can't be found. #83

davesnx opened this issue Sep 6, 2019 · 2 comments

Comments

@davesnx
Copy link

davesnx commented Sep 6, 2019

Current behaviour

Installing bs-react-native-paper in an empty Reason react native project, gives the following error:

The module or file Paper can't be found.

Expected behaviour

Not fail on using it.

Code sample

let theme =
  Paper.ThemeProvider.(
    createTheme(
      ~colors=
        themeColors(
          ~primary="#6200EE",
          ~accent="#03dac4",
          ~background="#f6f6f6",
          ~surface="white",
          ~error="#B00020",
          ~text="black",
          ~disabled="rgba(0, 0, 0, 0.26)",
          ~placeholder="rgba(0, 0, 0, 0.54)",
          ~backdrop="rgba(0, 0, 0, 0.5)",
        ),
      (),
    )
  );

What have you tried

I'm using jsx:3 and already added the bs-dependency.
I tried to jump into node_modules/bs-react-native-paper and tried to change namespace inside bsconfig, since it's a "true" and should be "paper" I guess, but I didn't make it work.

Your Environment

software version
ios or android ios
react-native 33.0.0
react-native-paper 2.16.0
bs-react-native-paper 4.0.5
node 12
reason-react-native": 0.60.0
bs-platform 5.0.6
@ballenwillis
Copy link

Don't usually do this, but since this hasn't been addressed and is months old:

+1

@Trancever
Copy link
Member

@ballenwillis Would you like to fix this issue? We no longer use ReasonML and we have very limited time and resources to work on this package. Would be awesome to have external contributor who could maintain this library.

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

3 participants