Replication of Deno process hang when Uncaught (in worker "[worker eval]") (in promise) ReferenceError: require is not defined error during runtime.
- Install dependencies with
deno install --allow-scripts - Run the application with
deno task dev
Execution fails at Uncaught (in worker "[worker eval]") (in promise) ReferenceError: require is not defined error and the process stops.
The expected error is thrown, but the process doesn't stop itself, requiring an intervention to kill the process explicitly.
deno -v: deno 2.2.6
uname -a: Darwin MacBook-Air.local 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan 2 20:23:36 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T8112 arm64
This project is published under the BSD-3-Clause license. For more information, refer to the LICENSE file.