rescript-compiler icon indicating copy to clipboard operation
rescript-compiler copied to clipboard

Rewatch: git dependency not found

Open nojaf opened this issue 7 months ago • 0 comments

I use a git dependency in my project:

"devDependencies": {
    "@nojaf/rescript-firebase": "github:nojaf/rescript-firebase#56f74c3140f1a32d9ec8626930deb012d66e8c82",
}

added that to

  "bs-dependencies": [
    "@nojaf/rescript-firebase"
  ],

bsb has no issue with this.

rewatch gives:

thread '<unnamed>' panicked at src/build/compile.rs:568:17:
Expected to find dependent package @nojaf/rescript-firebase of ronnies.be
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Files are present at node_modules/@nojaf/rescript-firebase.

nojaf avatar May 21 '25 06:05 nojaf