husky-4-to-8 icon indicating copy to clipboard operation
husky-4-to-8 copied to clipboard

Cannot use `npm exec`

Open jsumners opened this issue 3 years ago • 8 comments

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.

jsumners avatar May 04 '21 13:05 jsumners

I also just ran into this issue and it looks like it has already been raised here: https://github.com/typicode/husky-4-to-6/issues/12

RinkAttendant6 avatar May 04 '21 23:05 RinkAttendant6

The npm@6 working alternative is:

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

simoneb avatar May 14 '21 09:05 simoneb

The npm@6 working alternative is:

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

This worked!

cray2015 avatar Jun 02 '21 08:06 cray2015

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

andorfermichael avatar Jul 06 '21 08:07 andorfermichael

Doesn't work. Reports EBUSY error.

thany avatar Jul 16 '21 13:07 thany

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

Node Version: 16.17.0 NPM version: 8.15.0

JohnnyDevNull avatar Sep 14 '22 05:09 JohnnyDevNull

+1 not working here

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

xeroxoid avatar Sep 23 '22 08:09 xeroxoid

@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.

dhalenok avatar Oct 03 '22 14:10 dhalenok