我的 asdf 有问题。\n我已经安装了最新的 Nodejs。
\nasdf install nodejs latest\n... \nasdf local nodejs latest / asdf global nodejs latest \nRun Code Online (Sandbox Code Playgroud)\n但如果我尝试
\nyarn \xef\x80\x97 \nNo preset version installed for command yarn\nPlease install a version by running one of the following:\n\nasdf install nodejs 18.0.0\n\nor add one of the following versions in your config file at /Users/../project-name/.tool-versions\nnodejs 14.17.0\nnodejs 19.0.1\nRun Code Online (Sandbox Code Playgroud)\n但我的项目结构中的 .tool-version 已经包含它:
\nnodejs 18.0.0\nnodejs 19.0.1\nRun Code Online (Sandbox Code Playgroud)\n(对于我的项目,我需要nodejs >= 18)\n我正在使用苹果M1芯片。
\n