We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
official Docker image 1.0.3
x64
.husky/commit-msg
#!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" bun run commitlint --edit ${1}
Commitlint checks the commit message.
131 | process[exports.REGISTER_INSTANCE] = service; 132 | // Register the extensions. 133 | registerExtensions(service.options.preferTsExts, service.extensions.compiled, service, originalJsHandler); 134 | (0, cjs_resolve_hooks_1.installCommonjsResolveHooksIfNecessary)(service); 135 | // Require specified modules before start-up. 136 | module_1.Module._preloadModules(service.options.require); ^ TypeError: module_1.Module._preloadModules is not a function. (In 'module_1.Module._preloadModules(service.options.require)', 'module_1.Module._preloadModules' is undefined) at register (/home/bun/project/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/ts-node/dist/index.js:136:4) at TypeScriptLoader (/home/bun/project/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/cosmiconfig-typescript-loader/dist/cjs/index.js:52:8) at /home/bun/project/node_modules/.pnpm/@[email protected]/node_modules/@commitlint/load/lib/utils/load-config.js:12:10 at loadConfig (/home/bun/project/node_modules/.pnpm/@[email protected]/node_modules/@commitlint/load/lib/utils/load-config.js:10:26) at /home/bun/project/node_modules/.pnpm/@[email protected]/node_modules/@commitlint/load/lib/load.js:19:19 at load (/home/bun/project/node_modules/.pnpm/@[email protected]/node_modules/@commitlint/load/lib/load.js:17:20) at /home/bun/project/node_modules/.pnpm/@[email protected]/node_modules/@commitlint/cli/lib/cli.js:189:19 at processTicksAndRejections (:55:76) error: "commitlint" exited with code 1 (SIGHUP)
Same error when launched with bun x instead of bun run.
bun x
bun run
The text was updated successfully, but these errors were encountered:
The same is here with mikro-orm mikro-orm/mikro-orm#4771 (comment). And not import if run with bun x instead of bun run. Was ok prior.
Sorry, something went wrong.
Duplicate of #6227
No branches or pull requests
What version of Bun is running?
official Docker image 1.0.3
What platform is your computer?
x64
What steps can reproduce the bug?
.husky/commit-msg
What is the expected behavior?
Commitlint checks the commit message.
What do you see instead?
Additional information
Same error when launched with
bun x
instead ofbun run
.The text was updated successfully, but these errors were encountered: