karma-jest icon indicating copy to clipboard operation
karma-jest copied to clipboard

Undocumented patch-package global module required

Open kevireilly opened this issue 3 years ago • 1 comments

Appears as though there is an unforeseen expectation that the patch-package global module be installed prior to installing karma-jest. I see that it is in package.json, so I'm not entirely certain what may be amiss, but this was also reported in #60.

error /Users/kevin.reilly/development/app/node_modules/karma-jest: Command failed.
Exit code: 127
Command: patch-package
Arguments: 

One temporary solution is yarn global add patch-package before yarn add --dev karma-jest

kevireilly avatar Mar 16 '23 23:03 kevireilly

Ah, could potentially be the prebuild or postInstall scripts running before the dependency is actually installed.

kevireilly avatar Mar 16 '23 23:03 kevireilly