rrdelaney / reason-scripts

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

bsb.exe: unknown option '-color'. #75

Closed peerreynders closed 5 years ago

peerreynders commented 6 years ago

With bs-platform 4.0.5 the -color command line option was removed from bsb.exe.

https://github.com/reasonml-community/bs-loader/pull/47

To get past the resulting failing build it is necessary to update to the most recent bs-loader (2.0.6 which includes the corrected bsb-js@1.1.7).

$ cd ./node_modules/reason-scripts
$ npm update bs-loader
$ cd ../../
rrdelaney commented 5 years ago

Try reinstalling node_modules, it should pick up patch releases of bs-loader.