更新时间:2022-02-18 22:26:46
我只是从我的 Mac 中删除了 Node.js
并重新安装了它,效果很好.
I simply removed Node.js
from my Mac and reinstalled it, that worked.
用于删除Node.js
的命令:sudo rm -rf/usr/local/{bin/{node,npm},lib/node_modules/npm,lib/node,share/man/*/node.*}
现在一切正常.