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

npm ERR! cb() never called!

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

my node version is 8.1.0 and npm version is 6.4.1.

Let me know how can this issue be resolved.