trance-stack
trance-stack copied to clipboard
Misleading error message when `lefthook` not installed
What happened?
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