felixrieseberg / npm-windows-upgrade

:rocket: Upgrade npm on Windows
MIT License
2.53k stars 149 forks source link

npm ERR! cb.apply is not a function While trying to Update the Npm the Windows way. #160

Open utsabshrestha opened 4 years ago

utsabshrestha commented 4 years ago

PS C:\Windows\System32> Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force PS C:\Windows\System32> npm install --global --production npm-windows-upgrade npm WARN npm npm does not support Node.js v14.6.0 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11. npm WARN npm You can find the latest version at https://nodejs.org/ npm ERR! cb.apply is not a function

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

Thank you .

vinaykhegde commented 4 years ago

I have been encountering the same problem as mentioned above, trying to update npm from 5.6.0 to the latest.