reasonml-community/bs-express

example Error "Unbound value Request.asJsonObject"

andyfen opened this issue · 1 comments

Hello.
Im getting this error when trying to run the example.

example Error "Unbound value Request.asJsonObject"

i tried to run a stripped down version after like
index.re

open Express;

let app = express ();

App.listen app port::3000;

and its giving the error

Error: Unbound value express

i think im missing something obvious?

bsconfig.json

{
  "name": "hello",
  "version": "0.1.0",
  "sources": [
    "src"
  ],
  "reason" : { "react-jsx" : true},
  "bs-dependencies" : [
    "bs-express"
  ]
}

close: its my setup.