我遇到了“错误:已知 npm v9.5.0 不能在 Node.js v18.15.0 上运行。” 在 Windows 上使用 nvm。
nvm -v # Running version 1.1.7.
node.js npm nvm
node.js ×1
npm ×1
nvm ×1