Skip to content

Instantly share code, notes, and snippets.

@caulagi
Created January 5, 2018 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caulagi/e87677bb7bfbd5625c1b0cab7a637349 to your computer and use it in GitHub Desktop.
Save caulagi/e87677bb7bfbd5625c1b0cab7a637349 to your computer and use it in GitHub Desktop.
pradipcaulagi@Pradips-MacBook-Pro|/tmp/bucklescript-frontend-template on master!?
± npm run build:dev
> tutorial@0.0.0 build:dev /private/tmp/bucklescript-frontend-template
> bsb -make-world && webpack --env=dev
ninja: no work to do.
ninja: Entering directory `lib/bs'
[1/2] Building src/components/app.cmj
FAILED: src/components/app.cmj /private/tmp/bucklescript-frontend-template/lib/es6/src/components/app.js src/components/app.cmi
/private/tmp/bucklescript-frontend-template/node_modules/bs-platform/bin/bsc.exe -bs-package-name tutorial -bs-package-output es6:lib/es6/src/components -bs-assume-no-mli -bs-no-builtin-ppx-ml -bs-no-implicit-include -I /private/tmp/bucklescript-frontend-template/node_modules/reason-react/lib/ocaml -I src/components -I src -w -30-40+6+7+27+32..39+44+45 -nostdlib -I '/private/tmp/bucklescript-frontend-template/node_modules/bs-platform/lib/ocaml' -no-alias-deps -color always -bs-re-out -bs-super-errors -o src/components/app.cmj -c src/components/app.mlast
We've found a bug for you!
/private/tmp/bucklescript-frontend-template/src/components/app.re 26:13-29:14
24 ┆ let render { state, updater } =>
25 ┆ <div>
26 ┆ <Counter
27 ┆ value=state.c1
28 ┆ onChange=(updater (handleChange 0))
29 ┆ />
30 ┆ <br />
31 ┆ <Counter
The value make can't be found in Counter
ninja: build stopped: subcommand failed.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! tutorial@0.0.0 build:dev: `bsb -make-world && webpack --env=dev`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the tutorial@0.0.0 build:dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/pradipcaulagi/.npm/_logs/2018-01-05T16_50_56_015Z-debug.log
-> [2]
pradipcaulagi@Pradips-MacBook-Pro|/tmp/bucklescript-frontend-template on master!?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment