Skip to content
New issue

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

Install error on Husky postinstall script #130

Open
danielnaab opened this issue Mar 22, 2021 · 0 comments
Open

Install error on Husky postinstall script #130

danielnaab opened this issue Mar 22, 2021 · 0 comments

Comments

@danielnaab
Copy link

While trying to test out the react-dom bundle on a project, I installed via yarn:

yarn add react-dom@npm:@esm-bundle/react-dom

And received the following error:

error /Users/dan/src/test/node_modules/react-dom: Command failed.
Exit code: 1
Command: husky install
Arguments: 
Directory: /Users/dan/src/tmp/node_modules/react-dom
Output:
/usr/local/lib/node_modules/husky/lib/commands/install.js:22
        throw new Error(`.git can't be found (see ${customDirHelp})`);
        ^

Error: .git can't be found (see https://typicode.github.io/husky/#/?id=custom-directory)

Not sure why Husky is a postinstall step - perhaps unintentional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant