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

Can't find ReScript binary #979

Open
thealjey opened this issue May 5, 2024 · 3 comments
Open

Can't find ReScript binary #979

thealjey opened this issue May 5, 2024 · 3 comments

Comments

@thealjey
Copy link

thealjey commented May 5, 2024

Am I stupid, or what's going on here?
It's just rescript-template-basic with no modifications after bun install.
image

@ghost
Copy link

ghost commented Sep 19, 2024

Just start to learn rescript to day and has the same issue.

Apparently it looks for "rescript" file, while on windows the file is rescript.exe if bun is used. I rename the file and there is no error.

export let rescriptBinName = "rescript";

@nojaf
Copy link
Contributor

nojaf commented Sep 19, 2024

Shot in the dark but maybe some postinstall failed, try bun pm trust rescript

@thealjey
Copy link
Author

Just start to learn rescript to day and has the same issue.

Apparently it looks for "rescript" file, while on windows the file is rescript.exe if bun is used. I rename the file and there is no error.

export let rescriptBinName = "rescript";

Ok, cool find, thanks.
Certainly looks like a bug in rescript-vscode then.

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

2 participants