Skip to content
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

Cannot use npm exec #19

Open
jsumners opened this issue May 4, 2021 · 8 comments
Open

Cannot use npm exec #19

jsumners opened this issue May 4, 2021 · 8 comments

Comments

@jsumners
Copy link

jsumners commented May 4, 2021

https://github.com/typicode/husky-4-to-6/blob/c9bbca76eeaec8a91a5dfd1095a9907114623e47/README.md#L16

^ that requires npm@7 which does not ship with any current LTS release of Node.js.

@RinkAttendant6
Copy link

I also just ran into this issue and it looks like it has already been raised here: #12

@simoneb
Copy link

simoneb commented May 14, 2021

The npm@6 working alternative is:

npx github:typicode/husky-4-to-7 --remove-v4-config

@cray2015
Copy link

cray2015 commented Jun 2, 2021

The npm@6 working alternative is:

npx github:typicode/husky-4-to-6 --remove-v4-config

This worked!

@andorfermichael
Copy link

andorfermichael commented Jul 6, 2021

The npm@6 working alternative is:

npx github:typicode/husky-4-to-6 --remove-v4-config

This should be added to the docs. PRs are already open, please merge @typicode

@thany
Copy link

thany commented Jul 16, 2021

Doesn't work. Reports EBUSY error.

@JohnnyDevNull
Copy link

Doesn't work. Reports: npm ERR! Cannot convert undefined or null to object

Node Version: 16.17.0
NPM version: 8.15.0

@xeroxoid
Copy link

+1 not working here

npx github:typicode/husky-4-to-8 --remove-v4-config
Need to install the following packages:
  husky-4-to-8@1.0.0
Ok to proceed? (y) y
npm ERR! Cannot convert undefined or null to object

@dhalenok
Copy link

dhalenok commented Oct 3, 2022

@JohnnyDevNull @xeroxoid
I was facing the same issue on Node v16.17.1, but then I've tried v14.17.5 which seemingly went fine.

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

No branches or pull requests

9 participants