Skip to content

Instantly share code, notes, and snippets.

@pulkitsinghal
Created October 9, 2016 20:01
Show Gist options
  • Save pulkitsinghal/ca8a3975d6b9af8c572663e6880fd026 to your computer and use it in GitHub Desktop.
Save pulkitsinghal/ca8a3975d6b9af8c572663e6880fd026 to your computer and use it in GitHub Desktop.
.git/hooks/post-checkout: line 9: ./node_modules/.bin/post-checkout: No such file or directory

Error:

.git/hooks/post-checkout: line 9: ./node_modules/.bin/post-checkout: No such file or directory

This happens when you jump between installing different versions of pre-git ... the file .git/hooks/post-checkout gets left behind as an artifact placed by one of the installs just delete/remove it and move on with life.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment