Under the scripts section, rather than "prepare": "cd .. && husky install frontend/.husky", what works for me is "prepare": "cd && husky install .husky".
The former setup another git hook in my frontend folder, while the latter set up the git hook in the root folder.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Under the scripts section, rather than "prepare": "cd .. && husky install frontend/.husky", what works for me is "prepare": "cd && husky install .husky".
The former setup another git hook in my frontend folder, while the latter set up the git hook in the root folder.