Skip to content

Could not read folder: "test" #7617

Open
@nojaf

Description

@nojaf

Was testing out #7616

and got:

(base) nojaf@nojaf-mbp ronnies.be % bunx rescript clean
ERROR:
Could not read folder: "test". Specified in dependency: rescript-bun, located "/Users/nojaf/Projects/ronnies.be/node_modules/rescript-bun"...
ERROR:
Could not read folder: "tests". Specified in dependency: @rescript/webapi, located "/Users/nojaf/Projects/ronnies.be/node_modules/@rescript/webapi"...
[1/2] 🧹 Cleaned compiler assets in 0.00s
[2/2] 🧹 Cleaning mjs files..

Tried removing lib:

(base) nojaf@nojaf-mbp ronnies.be % rm -r lib
(base) nojaf@nojaf-mbp ronnies.be % bunx rescript 
[1/7] 📦 Built package tree in 0.00s
[2/7] 👀 Found source files in 0.00s
[3/7] 📝 Reading compile state...
thread 'main' panicked at src/build/read_compile_state.rs:21:78:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@Bushuo, you fixed the test folder thing during the retreat, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions