a-reason-react-tutorial
a-reason-react-tutorial copied to clipboard
build spec : Dependencies information missing
I clone this starter repo and cd into a-reason-react-tutorial. When I do the npm start
, I get this:
> reason-to-do@ start /Volumes/P3/OCaml/a-reason-react-tutorial
> bsb -make-world -w
BSB check build spec : Dependencies information missing
Package bs-platform -> /usr/local/lib/node_modules/bs-platform
Package not found: resolving package reason-react in /
Fatal error: exception BuckleScript package reason-react not found or built , if it is not built
Please run 'bsb -make-world', otherwise please install it
Error: Command failed: /usr/local/lib/node_modules/bs-platform/bin/bsb.exe -make-world -w
Error happened when running command /usr/local/lib/node_modules/bs-platform/bin/bsb.exe with args [ '-make-world', '-w' ]
I have done npm install -g bs-platform
, and also npm link bs-platform
. I'm using node v6.11.2 on a Mac.
Things are now working better, no more errors. It may be that I just did npm start
instead of now npm install && npm start
, but I have also installed node v8.4.0.
Another question: When running this app, shall I just open the static file public/index.html in my browser, or shall I go to localhost:someport?
@jkleiser yes. To open you can just open the path to public.index.html in your browser