oven-sh/bun · error

Could not read file %s

Error message

Could not read file %s

What it means

Error "Could not read file %s " thrown in oven-sh/bun.

Source

Thrown at misctools/cold-jsc-start.cpp:190

        JSC::profiledEvaluate(globalObject, ProfilingReason::API, source,
                              globalObject, evaluationException);

#ifdef VERBOSE
    fprintf(stderr, "eval took %f ms\n",
            stopwatch->elapsedTime().milliseconds());
    stopwatch->reset();
#endif

    if (evaluationException) {
      fprintf(
          stderr, "Exception: %s\n",
          evaluationException->value().toWTFString(globalObject).utf8().data());
      return 1;
    } else {
      return 0;
    }
  } else {
    fprintf(stderr, "Could not read file %s\n", argv[argc - 1]);
    return 1;
  }
}

View on GitHub (pinned to 8c5296ac45)

When it happens

Trigger: Thrown at misctools/cold-jsc-start.cpp:190 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of oven-sh/bun@8c5296ac45 (2026-08-16). Data as JSON: /api/errors/b2557a03e9a14757. Report an issue: GitHub.