rrdelaney / reason-scripts

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

Fails to build after creating #72

Closed pablote closed 6 years ago

pablote commented 6 years ago

Immediatly after creating the app, I try to build/start and I get the following error:

pablo@ironman test-reason-react $ yarn build
yarn run v1.9.4
$ react-scripts build
Creating an optimized production build...
Failed to compile.

./src/index.re
Module build failed: /Users/pablo/Documents/work/projects/personal/test-reason-react/node_modules/bs-loader/index.js:84
      )
      ^

SyntaxError: Unexpected token )

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
pablote commented 6 years ago

Nevermind, I tried switching from node 6 to 8 and it worked, I didn't realized it required node 8.