我的节点是最新的…但是终端说预期版本“ 10.x”。得到了“ 13.5.0”

问题描述 投票:0回答:1

关于以下消息,我该怎么办?

$node -v
v13.5.0
Bookpuro:co$ yarn install
yarn install v1.17.3
[1/5] 🔍  Validating package.json...
[email protected]: The engine "node" is incompatible with this module. Expected version "10.x". Got "13.5.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
node.js npm yarn
1个回答
0
投票

使用nvm处理节点的不同版本

© www.soinside.com 2019 - 2024. All rights reserved.