You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When lefthook is not installed (on OSX), it throws a failed to install dependencies error which is misleading.
We should
Update the README to note that lefthook is a prerequisite
Improve the error message if lefthook is not installed
Current experience:
% npx create-remix@latest --template meza/trance-stack trance-stack
Need to install the following packages:
[email protected]
Ok to proceed? (y)
remix v2.5.0 💿 Let's build a better website...
◼ Directory: Using trance-stack as project directory
◼ Template: Using meza/trance-stack...
✔ Template copied
git Initialize a new git repository?
No
deps Install dependencies with npm?
Yes
██████ Dependencies installing with npm...
▲ Oh no! Failed to install dependencies.
What did you expect to happen?
I expected it to say
lefthook is not installed
What version of Remix are you using?
2.5.0
The text was updated successfully, but these errors were encountered:
I just ran into the same issue and was able to resolve by making sure the git project was initialized. After running git init manually, I was able to successfully run npm install with no failures from lefthook. Now I need to know why the repo was not initialized when I selected yes during the setup - which is another topic :-)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
What happened?
When
lefthook
is not installed (on OSX), it throws a failed to install dependencies error which is misleading.We should
lefthook
is a prerequisitelefthook
is not installedCurrent experience:
What did you expect to happen?
I expected it to say
What version of Remix are you using?
2.5.0
The text was updated successfully, but these errors were encountered: