Skip to content

Error on pnpm install: Was not able to set git hooks. #508

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
marekdedic opened this issue Jun 18, 2023 · 0 comments · Fixed by #544
Closed
2 tasks done

Error on pnpm install: Was not able to set git hooks. #508

marekdedic opened this issue Jun 18, 2023 · 0 comments · Fixed by #544

Comments

@marekdedic
Copy link
Contributor

marekdedic commented Jun 18, 2023

Before You File a Bug Report Please Confirm You Have Done The Following...

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.

What version of ESLint are you using?

N/A

What version of eslint-plugin-svelte are you using?

main

What did you do?

$ pnpm install

What did you expect to happen?

No error

What actually happened?

❯ pnpm install
Already up to date
Progress: resolved 473, reused 430, downloaded 0, added 0, done

> [email protected] prepare /home/user/eslint-plugin-svelte
> simple-git-hooks

[ERROR], Was not able to set git hooks. Error: [ERROR] Config was not found! Please add `.simple-git-hooks.js` or `simple-git-hooks.js` or `.simple-git-hooks.json` or `simple-git-hooks.json` or `simple-git-hooks` entry in package.json.
Check README for details
 WARN  Issues with peer dependencies found
.
├─┬ @1stg/browserslist-config 1.2.4
│ └── ✕ missing peer browserslist@>=4.0.0
├─┬ markdown-it-anchor 8.6.7
│ └── ✕ missing peer markdown-it@"*"
├─┬ @1stg/stylelint-config 5.1.0
│ └─┬ stylelint-config-prettier 9.0.5
│   └── ✕ unmet peer stylelint@">= 11.x < 15": found 15.8.0
└─┬ svelte-i18n 3.6.0
  └── ✕ unmet peer svelte@^3.25.1: found 4.0.0-next.1
Peer dependencies that should be installed:
  browserslist@>=4.0.0  markdown-it@"*"

Done in 1.8s

Link to GitHub Repo with Minimal Reproducible Example

N/A

Additional comments

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant