0

After following the instruction on the quick start page of ReasonML, the command npm run start fails to compile the application.

It shows that the code has a syntax error.

Tahnik Mustasin
  • 2,216
  • 2
  • 18
  • 21

1 Answers1

2

Reason is using a new syntax now. But the quick start app is not updated yet. Go to src > demo.re and change the line:

Js.log "Hello world";

to something like this:

Js.log("Hello World");

Tahnik Mustasin
  • 2,216
  • 2
  • 18
  • 21