I know this is a common error with node but all my troubleshooting techniques seem to be failing.
node
I was getting this error when running Yeoman generators on Windows. McAfee real-time scanning was preventing file system changes. Setting the real-time scanning to "Programs and documents only" worked for me.