npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

npm install not working

after updating node and npm, whenever I am trying to install any package I am getting unhandled rejection error.The complete log given below -

C:\Users\Sanu>npm install create-react-app -g
Unhandled rejection Error: UNKNOWN: unknown error, mkdir ‘E:\npm-cache_cacache
content-v2\sha512\b7\a4’

npm ERR! cb() never called!

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

my node version is 8.1.0 and npm version is 6.4.1.

Let me know how can this issue be resolved.