Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Unsupported option specified! (unsafe.enable_getters_and_setters) #5594
I'm getting the message
added a commit
Jan 7, 2018
I'm using flow bin version 0.63.1. Same error as @dsherida mentioned. Tried Downgrading to 0.62.0 but still the error remains the same.
While the yarn run flow command runs, following error appears,
Finally I have fixed this by downgrading to Version 0.56.0.
@TrySound As you said I have removed the option. Now when the yarn run flow command runs, I received a error as Launching Flow server for Wrong version of Flow. The config specifies version ^0.56.0 but this is version 0.62.0 Could not start Flow server! error Command failed with exit code 78.
So I downgraded to 0.56.0. After that when I run the yarn run flow command, lot of errors was thrown in all the files with the message get/set properties not yet supported.
To fix it I have added the unsafe.enable_getters_and_setters in the .flowconfig (which I have removed earlier) and it works.
Hope this helps someone.