umami-software / umami

Umami is a simple, fast, privacy-focused alternative to Google Analytics.
https://umami.is
MIT License
22.54k stars 4.21k forks source link

husky - .git can't be found #2907

Closed yuis-ice closed 1 day ago

yuis-ice commented 2 months ago

Describe the Bug

$ yarn install
yarn install v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
warning chart.js@4.4.3: The engine "pnpm" appears to be invalid.
[3/4] Linking dependencies...
warning " > @umami/prisma-client@0.14.0" has incorrect peer dependency "@prisma/client@^4.8.0".
warning " > next-basics@0.39.0" has incorrect peer dependency "next@^13.4.0".
warning " > react-simple-maps@2.3.0" has incorrect peer dependency "react@^16.8.0 || 17.x".
warning " > react-simple-maps@2.3.0" has incorrect peer dependency "react-dom@^16.8.0 || 17.x".
warning " > react-simple-maps@2.3.0" has unmet peer dependency "prop-types@^15.7.2".
warning " > rollup-plugin-terser@7.0.2" has incorrect peer dependency "rollup@^2.0.0".
warning "stylelint-config-css-modules > stylelint-scss@6.1.0" has incorrect peer dependency "stylelint@^16.0.2".
warning " > stylelint-config-prettier@9.0.5" has incorrect peer dependency "stylelint@>= 11.x < 15".
warning " > stylelint-config-recommended@14.0.1" has incorrect peer dependency "stylelint@^16.1.0".
warning Workspaces can only be enabled in private projects.
[4/4] Building fresh packages...
$ node -e "if (process.env.NODE_ENV !== 'production'){process.exit(1)} " || husky install
husky - .git can't be found (see https://typicode.github.io/husky/#/?id=custom-directory)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
$

Database

PostgreSQL

Relevant log output

No response

Which Umami version are you using? (if relevant)

the very latest

Which browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

No response

mikecao commented 2 months ago

This is the error husky - .git can't be found. Are you pulling from the repo?

yuis-ice commented 2 months ago

Downloaded (wget) the zip, unzipped, cd. (because "git clone" didn't work for the repo, so slow and got timeout (kind of ) errors) Hope this helps

ShareX-240825T102703-S1w9CRP9~chrome-umami-softwareumami_Umami_is_a_simple,_fast,_pri

mikecao commented 2 months ago

You can try yarn install --prod

github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 1 day ago

This issue was closed because it has been inactive for 7 days since being marked as stale.