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

Module name casing error #16

Open
kevanstannard opened this issue Dec 26, 2019 · 0 comments
Open

Module name casing error #16

kevanstannard opened this issue Dec 26, 2019 · 0 comments

Comments

@kevanstannard
Copy link

I've created a Test.re file and added the code:

let query = ReasonQL.gql({|
  query AppQuery {
    hello {
      message
    }
  }
|})

When running the command bsb -make-world -clean-world I see the message:

You referred to the module ReasonQL, but we've found one called Reasonql instead.
Is the name's casing right?

Inside VSCode I see the message:

File "/Users/kevan.stannard/dev/reasonql/node_modules/.lsp/Test-Reasonql.ast", line 1:
Error: Wrong file naming: /Users/kevan.stannard/dev/reasonql/lib/bs/reasonQL.cmi
contains the compiled interface for 
ReasonQL when Reasonql was expected

Any suggestions on what might be the cause?

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