trance-stack icon indicating copy to clipboard operation
trance-stack copied to clipboard

`npm prepare` prevents installation without a git repo

Open cheruvian opened this issue 1 year ago • 1 comments

What happened?

One of the options presented to users when using npx create-remix is whether or not to initialize a git repo. If the user chooses not to, then the npm prepare script fails and prevents the user from running npm install

What did you expect to happen?

I expected it to warn or fail silently if a git repo is not included. Potentially remove lefthook automatically if that option is provided.

What version of Remix are you using?

2.5.0

cheruvian avatar Jan 17 '24 04:01 cheruvian