I had a similar error (on Linux, though). The point is this:
PhantomJS comes with its own βinstallerβ install.js , which extracts the pre-compiled PhantomJS binaries to a temporary directory and unzips them somewhere inside your node_modules directory.
I had to export the TMPDIR because /tmp not writable. In your case, it seems that the backup \tmp not cutting it (this is Windows after all). Try installing TMPDIR to point to an existing directory and run npm install again.
Good luck
PS: Can someone extend this answer with instructions on how to set environment variables in Windows?
svckr source share