记录 Expected version ">=12.14.0". Got "12.10.0"
执行 SASS_BINARY_SITE=http://npm.taobao.org/mirrors/node-sass yarn
的时候,报错了;原因是版本问题;如下图:
此时,需要执行 yarn config set ignore-engines true
;忽略以后就可以了;
出现
Error: You are using an unsupported version of Node. Please update to at least Node v12.14
,还可以尝试更新,执行sudo apt install nodejs
;然后删除
node_nodules
,重新执行npm install && npm run dev
,就可以了