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
1.1.8-canary.1+3c082012b
Microsoft Windows NT 10.0.22621.0 x64
bun add -d husky@latest
bunx husky init
bunx husky init successfully without any issue.
PS D:\repos\fauto> bunx husky init file:///D:/repos/fauto/node_modules/husky/bin.mjs:18 w('.husky/pre-commit', p.env.npm_config_user_agent.split('/')[0] + ' test\n') ^ TypeError: Cannot read properties of undefined (reading 'split') at file:///D:/repos/fauto/node_modules/husky/bin.mjs:18:53 at ModuleJob.run (node:internal/modules/esm/module_job:222:25) at async ModuleLoader.import (node:internal/modules/esm/loader:323:24) at async loadESM (node:internal/process/esm_loader:28:7) at async handleMainPromise (node:internal/modules/run_main:113:12) Node.js v20.12.2
When I did the init with npx husky init, it worked as expected.
npx husky init
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Bun is running?
1.1.8-canary.1+3c082012b
What platform is your computer?
Microsoft Windows NT 10.0.22621.0 x64
What steps can reproduce the bug?
bun add -d husky@latest
bunx husky init
What is the expected behavior?
bunx husky init
successfully without any issue.What do you see instead?
Additional information
When I did the init with
npx husky init
, it worked as expected.The text was updated successfully, but these errors were encountered: