I provided the exact source below; I don't have a StackBlitz to upload it there.
{
"name": "example",
"version": "1.0.0",
"type": "module",
"packageManager": "yarn@4.14.1",
"dependencies": {
"http-errors": "^2.0.1"
},
"devDependencies": {
"@types/http-errors": "^2",
"tsx": "^4.22.3"
}
}
import { errors } from "./errors.js";
errors;
import { isHttpError } from "http-errors";
export const errors = () => {
isHttpError;
};
Acknowledgements
Minimal reproduction URL
I provided the exact source below; I don't have a StackBlitz to upload it there.
Problem & expected behavior (under 200 words)
Make sure to use
yarn.package.lock:src/index.ts:src/errors.ts:Run:
yarn installyarn tsx src/index.tsBugs are expected to be fixed by those affected by it
Compensating engineering work will speed up resolution and support the project