-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
I cloned a project that uses yarnhook, changed a file, and then ran git checkout on that file. yarnhook got triggered, but it failed with this output:
<path_to_project>/node_modules/.bin/yarnhook
<path_to_project>/node_modules/yarnhook/node_modules/execa/index.js:303
throw (result.error || new Error(result.stderr === '' ? result.stdout : result.stderr));
^
Error: fatal: Log for 'HEAD' only has 1 entries.
at Function.module.exports.sync (<path_to_project>/node_modules/yarnhook/node_modules/execa/index.js:303:26)
at Object.<anonymous> (<path_to_project>/node_modules/yarnhook/index.js:58:38)
at Module._compile (internal/modules/cjs/loader.js:1147:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1167:10)
at Module.load (internal/modules/cjs/loader.js:996:32)
at Function.Module._load (internal/modules/cjs/loader.js:896:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47
error Command failed with exit code 1.
Tried googling but found nothing. Any advice?
Metadata
Metadata
Assignees
Labels
No labels