Skip to content

Instantly share code, notes, and snippets.

@nkhil
Created November 9, 2018 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nkhil/9195c0b591ecd008b416050b816e3a2e to your computer and use it in GitHub Desktop.
Save nkhil/9195c0b591ecd008b416050b816e3a2e to your computer and use it in GitHub Desktop.
rm -rf node_modules && npm install
//ERROR:
//ReferenceError: internalBinding is not defined at fs.js:25:1
// SOLUTION:
// When you update node you need to run rm -rf node_modules && npm install
//to rebuild/reinstall your native modules against your new node version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment