1

I ran npm i -g @vue/cli. Then I tried to create a new project with vue create test, but I keep getting this error:

NPM ERR! cb() never called!

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

NPM ERR! * A complete log of this run can be found in:* npm ERR!
C:\Users\HP\AppData\Roaming\npm-cache_logs\2020-07-22T11_49_02_861Z-debug.log

ERROR command failed: npm install --loglevel error

D Malan
  • 10,272
  • 3
  • 25
  • 50
BodeRahman
  • 13
  • 3
  • 1
    Does this answer your question? [npm ERR cb() never called](https://stackoverflow.com/questions/15393821/npm-err-cb-never-called) – D Malan Jul 22 '20 at 19:22

1 Answers1

1

Try to clean the cache.

sudo npm cache clean -f
Ahmed ElMetwally
  • 2,276
  • 3
  • 10
  • 15