Astrocoders / lenses-ppx

GADT lenses
MIT License
105 stars 10 forks source link

Build failure w/ ReScript v9 #39

Closed mununki closed 3 years ago

mununki commented 3 years ago

Build failed w/ ReScript v9.1.2

$ npx rescript build -w
rescript: [1/43] src/App.ast
FAILED: src/App.ast
Fatal error: exception Failure("Ast_mapper: OCaml version mismatch or malformed input")

  We've found a bug for you!
  /Users/woonki/Documents/works/gl/sources/sinsun-market/client/src/App.res

  Error while running external preprocessor
Command line: /Users/woonki/Documents/works/gl/sources/sinsun-market/client/node_modules/lenses-ppx/ppx '/var/folders/mw/t4sy4tnj5gs_zplj8xdp62_w0000gn/T/ppx0b7bb9App.res' '/var/folders/mw/t4sy4tnj5gs_zplj8xdp62_w0000gn/T/ppxb1e5daApp.res'
chrisui commented 3 years ago

@mattdamon108 try using latest npm install --save-dev lenses-ppx@latest

fakenickels commented 3 years ago

Use the latest version!

mununki commented 3 years ago

@chrisui @fakenickels My bad. It works! Thank you all!