Issue
When adding userop.js to my yarn package via npm install userop and in response including "userop": "^0.3.0", in package.json dependencies of my project then running yarn install globally to install all dependencies of my project on another machine I always get error An unexpected error occurred: "Commit hash required"
Upon removing userop from my package this works as well as adding other new packages. I've attempted many yarn specific remedies to no avail so resources suggested its likely a problem with the package.
userop library works great in my local project when installed with npm but any other machine and others I've asked to try have run into the same issue when trying to install the projects dependencies with yarn
log file error:
Trace:
Invariant Violation: Commit hash required
at invariant (/usr/local/Cellar/yarn/1.22.19/libexec/lib/cli.js:2318:15)
at GitFetcher.<anonymous> (/usr/local/Cellar/yarn/1.22.19/libexec/lib/cli.js:89316:7)
at Generator.next (<anonymous>)
at step (/usr/local/Cellar/yarn/1.22.19/libexec/lib/cli.js:310:30)
at /usr/local/Cellar/yarn/1.22.19/libexec/lib/cli.js:328:14
at new Promise (<anonymous>)
at new F (/usr/local/Cellar/yarn/1.22.19/libexec/lib/cli.js:5305:28)
at GitFetcher.<anonymous> (/usr/local/Cellar/yarn/1.22.19/libexec/lib/cli.js:307:12)
at GitFetcher.fetchFromExternal (/usr/local/Cellar/yarn/1.22.19/libexec/lib/cli.js:89334:20)
at /usr/local/Cellar/yarn/1.22.19/libexec/lib/cli.js:89484:21
Issue
When adding userop.js to my yarn package via
npm install useropand in response including"userop": "^0.3.0",in package.json dependencies of my project then runningyarn installglobally to install all dependencies of my project on another machine I always geterror An unexpected error occurred: "Commit hash required"Upon removing userop from my package this works as well as adding other new packages. I've attempted many yarn specific remedies to no avail so resources suggested its likely a problem with the package.
userop library works great in my local project when installed with npm but any other machine and others I've asked to try have run into the same issue when trying to install the projects dependencies with yarn
log file error: