npm ERR! Darwin 21.6.0 npm ERR! argv "/usr/local/bin/node" "/opt/homebrew/bin/npm" "update" npm ERR! node v16.17.0 npm ERR! npm v3.10.10
npm ERR! cb.apply is not a function npm ERR! npm ERR! If you need help, you may report this error at: npm ERR!
https://github.com/npm/npm/issuesnpm ERR! Please include the following file with any support request: npm ERR! /Users/cemozbey/npm-debug.log
i needed to downgrade my npm version for a project then when i did npm update again i got this error and now i am totally screwed i try ;
npm clean cache —force **
npm install graceful-fs --save-dev**
sudo npm install -g n
curl https://www.npmjs.com/install.sh | sh
sudo chown -R $(whoami) "$HOME/.npm npm -g install npm