question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Husky throws an error if `ganache-core` is a dependency in a project

See original GitHub issue

Expected Behavior

Expect Husky not to throw an error on Git commands.

Current Behavior

Git commit would cause an error.

not found: husky-run
Can't find Husky, skipping pre-commit hook
You can reinstall it using 'npm install husky --save-dev' or delete this hook
On branch master

Steps to Reproduce (for bugs)

  1. git init
  2. npm init
  3. npm i -D ganache-core
  4. git commit -m ‘test’

Context

You have to delete Git hooks to continue the development.

Your Environment

  • Version used: 2.10.2
  • Operating System and version: MacOS Catalina 10.15.3 (19D76)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
alcuadradocommented, Jun 25, 2020

I can confirm that 2.11.0-beta.0 fixes this

2reactions
davidmurdochcommented, Jun 20, 2020

Yes! I’ll try to get it done next week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ganache-core | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
npm throw errors when installing dependencies of hardhat
Pro tip: consider starting from my hardhat-template and you won't have to install any dependencies any longer, when you're bootstrapping a new ...
Read more >
How to solve npm install error “npm ERR! code 1”
Each time, run npm i and see if it throws an error. Once you've found out which dependency is causing the error, try...
Read more >
david-ganache-core - npm Package Health Analysis - Snyk
All security vulnerabilities belong to production dependencies of direct and indirect packages. License: MIT. Security Policy: No. We found ...
Read more >
Untitled
Microsoft project 2013 basics, Erwin schockel, Nintendo world cup gamefaqs? ... house stockholm fleece throw, 2006 winnebago outlook 29b, Sabater anibal!
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found