Я пытаюсь создать приложение React и получаю следующую ошибку в консоли:
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...
yarn add v1.10.1
info No lockfile found.
[1/4] ? Resolving packages...
warning react-scripts > eslint > file-entry-cache > flat-cache > circular- json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
[2/4] ? Fetching packages...
error eslint@5.6.0: The engine "node" is incompatible with this module. Expected version "^6.14.0 || ^8.10.0 || >=9.10.0". Got "9.5.0"
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Aborting installation.
yarnpkg add --exact react react-dom react-scripts --cwd /Volumes/server2/Desktop/JavaScript/birdcage has failed.
Deleting generated file... package.json
Deleting birdcage / from /Volumes/server2/Desktop/JavaScript
Done.
Я пробовал brew upgrade node
, но это не помогло.Будем весьма благодарны за любые идеи о том, как это можно исправить.