Skip to content

Instantly share code, notes, and snippets.

@Kavignon
Created October 23, 2018 02:42
Show Gist options
  • Save Kavignon/f8fc3b703ebfcf35b9a25bcab73aafc8 to your computer and use it in GitHub Desktop.
Save Kavignon/f8fc3b703ebfcf35b9a25bcab73aafc8 to your computer and use it in GitHub Desktop.
$ react-scripts build -verbose
Creating an optimized production build...
Failed to compile.
./src/index.re
/usr/local/lib/node_modules/bs-platform/lib/bsb.exe: unknown option '-color'.
Usage : bsb.exe <bsb-options> -- <ninja_options>
For ninja options, try ninja -h
ninja will be loaded either by just running `bsb.exe' or `bsb.exe .. -- ..`
It is always recommended to run ninja via bsb.exe
Bsb options are:
-v Print version and exit
-version Print version and exit
-verbose Set the output(from bsb) to be verbose
-w Watch mode
-clean-world Clean all bs dependencies
-clean Clean only current project
-make-world Build all dependencies and itself
-init Init sample project to get started. Note (`bsb -init sample` will create a sample project while `bsb -init .` will reuse current directory)
-theme The theme for project initialization, default is basic(https://github.com/bucklescript/bucklescript/tree/master/jscomp/bsb/templates)
-regen (internal) Always regenerate build.ninja no matter bsconfig.json is changed or not (for debugging purpose)
-query (internal)Query metadata about the build
-themes List all available themes
-where Show where bsb.exe is located
-help Display this list of options
--help Display this list of options
error An unexpected error occurred: "Command failed.
Exit code: 1
Command: sh
Arguments: -c react-scripts build -verbose
Directory: /Users/sinroscale/Reason_Todo_Application
Output:
".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment