I am getting this error "npm ERR! cb.apply is not a function" in Linux while doing npm install although my npm version is 6.9.0.My node version is v12.18.3. How to resolve this issue?
See Question&Answers more detail:osI am getting this error "npm ERR! cb.apply is not a function" in Linux while doing npm install although my npm version is 6.9.0.My node version is v12.18.3. How to resolve this issue?
See Question&Answers more detail:osWould be helpful if you shared if it's Windows or Linux, but the error seems to occur on Windows. Possible solution:
1. Go to C:Users(your username)AppDataRoaming
2. Delete the npm folder (possibly back it up) and if there is one npm cache folder.
3. Run `npm cache clear --force` (--force is now required to clean cache)
After that, npm install
should work fine.