rrdelaney / reason-scripts

:beginner: Create a ReasonML and React development environment
MIT License
628 stars 58 forks source link

Doesn't work the first time #60

Closed mcanobbio closed 6 years ago

mcanobbio commented 6 years ago

Hi, I follow all these steps

$ npm install -g bs-platform
$ yarn create react-app <app-name> --scripts-version reason-scripts
$ cd <app-name>
$ yarn start

But when I open the browser I see only a blank page, and when I open the .re files I see errors like The module or file ReasonReact can't be found. Unbound module ReactDOMRe Unbound module Jest

when ran yarn start I saw the message Compiled successfully

rrdelaney commented 6 years ago

Can you try using “—scripts-version reason-scripts@next”?

mcanobbio commented 6 years ago

Thanks, that is the solution