关于执行yarn add cross-env报错
error laravel-mix@6.0.18: The engine "node" is incompatible with this module. Expected version ">=12.14.0". Got "12.10.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
原因:node版本过低
执行以下命令升级node
$ sudo npm install -g n
$ n stable
推荐文章: