Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There's been an error running Reason's refmt parser on a file. #3

Open
alex-rvz opened this issue Jul 25, 2019 · 1 comment
Open

There's been an error running Reason's refmt parser on a file. #3

alex-rvz opened this issue Jul 25, 2019 · 1 comment

Comments

@alex-rvz
Copy link

Hello,
I'm new to programming and I'm trying to learn ReasonML with this game.
Unfortunately, after downloading on my computer and running npm start, I have this error:

We've found a bug for you!
C:\ReasonML Projects\Mareo\src\Object.re

There's been an error running Reason's refmt parser on a file.
This was the command:

C:\ReasonML Projects\Mareo\node_modules\bs-platform\lib\refmt.exe --print binary "C:\ReasonML Projects\Mareo\src\Object.re" > C:\Users\User\AppData\Local\Temp\ocamlpp25208a

Please file an issue on github.com/facebook/reason. Thanks!

[5/36] ←[34mBuilding←[39m ←[2msrc\Actors.mliast←[22m
FAILED: src/Actors.mliast
C:\ReasonML Projects\Mareo\node_modules\bs-platform\lib\bsc.exe -pp "C:\ReasonML Projects\Mareo\node_modules\bs-platform\lib\refmt.exe --print binary" -w -30-40+6+7+27+32..39+44+45+101 -nostdlib -I "C:\ReasonML Projects\Mareo\node_modules\bs-platform\lib\ocaml" -bs-no-version-header -bs-super-errors -no-alias-deps -color always -c -o src\Actors.mliast -bs-syntax-only -bs-binary-ast -intf "C:\ReasonML Projects\Mareo\src\Actors.rei"
'C:\ReasonML' is not recognized as an internal or external command,
operable program or batch file.

Am I doing something wrong?
Thanks

@smolck
Copy link

smolck commented Sep 11, 2019

@alex-rvz Hello! I don’t know much about using Reason on Windows, but it appears to me that your problem is due to there being a space in the directory name. Try running the project in a directory with a name without spaces, i.e. put the project in “C:\ReasonML” instead of what it currently is (“C:\Reason ML”).

Hope that helps! If not, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants