npm install failed when it tried to git checkout to a branch that doesn't exist

Unhandled rejection Error: Command failed: /usr/local/bin/git checkout NSAT-1144pm/_locks/staging-9f2592cc86cbfa80.lock for /Users/user/Work/studio_frontend/node_modules/.staging
error: pathspec ‘NSAT-1144’ did not match any file(s) known to git

at ChildProcess.exithandler (child_process.js:294:12)
at ChildProcess.emit (events.js:189:13)
at maybeClose (internal/child_process.js:978:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)

npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/user/.npm/_logs/2018-12-11T04_29_06_151Z-debug.log

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.