Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build on rescript 10: "Unbound type constructor out_channel" #427

Open
adnelson opened this issue Aug 23, 2023 · 0 comments
Open

Comments

@adnelson
Copy link

bisect_ppx fails to build with rescript 10. I have an example repo here: https://github.com/adnelson/rescript-10-bisect

  • Clone the repo
  • yarn
  • yarn rescript build
{
  "name": "rescript-10-bisect",
  "version": "1.0.0",
  "main": "index.js",
  "license": "MIT",
  "dependencies": {
    "bisect_ppx": "^2.8.2",
    "rescript": "^10.1.4"
  }
}

MacOS Monterey 12.6

Error:

% yarn rescript build
yarn run v1.22.19
$ ./node_modules/.bin/rescript build
Dependency on bisect_ppx
rescript: [11/14] src/common/bisect_common-Bisect.cmi
FAILED: src/common/bisect_common-Bisect.cmi
File "./node_modules/bisect_ppx/src/common/bisect_common.mli", line 68, characters 42-53:
Error: Unbound type constructor out_channel
FAILED: cannot make progress due to previous errors.
Failure: ./node_modules/rescript/darwin/ninja.exe
Location: ./node_modules/bisect_ppx/lib/bs
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant