Ideally you should be on latest node v8.8
and npm 5.4.2
.
If you use nvm
make sure you are using the right version.
run npm install -g bs-platform
Use vscode
- Install
vscode-reasonml
extension - Install reason-cli
npm install -g https://github.com/reasonml/reason-cli/archive/beta-v-1.13.7-bin-darwin.tar.gz
ideally use yarn
then run yarn create react-app my-app -- --scripts-version reason-scripts
if not, npm i -g create-react-app
and then run: create-react-app my-app -- --scripts-version reason-scripts