Skip to content

rewatch: Could not find bsc.exe #7476

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

Closed
cknitt opened this issue May 16, 2025 · 2 comments
Closed

rewatch: Could not find bsc.exe #7476

cknitt opened this issue May 16, 2025 · 2 comments
Assignees
Milestone

Comments

@cknitt
Copy link
Member

cknitt commented May 16, 2025

When installing the latest rescript master npm package and trying to build my project using rewatch, bsc.exe is not found:

RUST_BACKTRACE=1 yarn rewatch

thread 'main' panicked at src/helpers.rs:175:14:
Could not find bsc.exe
stack backtrace:
   0: __rustc::rust_begin_unwind
   1: core::panicking::panic_fmt
   2: rewatch::helpers::get_bsc
   3: rewatch::build::initialize_build
   4: rewatch::build::build
   5: rewatch::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

(whereas building with bsb works fine)

Most likely this is because the binaries are now located in the platform-dependent packages.

@cknitt cknitt added this to the v12 milestone May 16, 2025
@cknitt
Copy link
Member Author

cknitt commented May 16, 2025

I think this is already fixed in #7422 though

@cknitt
Copy link
Member Author

cknitt commented May 17, 2025

Fixed with #7422

@cknitt cknitt closed this as completed May 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants