Я клонировал проект из Github и, следуя начальным инструкциям, показывает эту ошибку, описанную ниже.
Я попытался понять это и погуглить, и оттуда я несколько раз менял свою версию NodeJS, используя nvm
но проблема не решена, ошибка не исправляется.
info fsevents@1.2.4: The platform "linux" is incompatible with this
module.
info "fsevents@1.2.4" is an optional dependency and failed
compatibility check. Excluding it from installation.
error get-caller-file@2.0.1: The engine "node" is incompatible with
this module. Expected version "6.* || 8.* || >= 10.*".
error An unexpected error occurred: "Found incompatible module".
info If you think this is a bug, please open a bug report with the
information provided in "/home/ongraph/Desktop/node/my-
business/frontend/shared/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation
about this command.
error An unexpected error occurred: "Command failed.
Exit code: 1
Command: sh
Arguments: -c cd frontend/shared && yarn install
Directory: /home/ongraph/Desktop/node/my-business
Output:
".
info If you think this is a bug, please open a bug report with the
information provided in
"/home/ongraph/Desktop/node/my-business/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation
about this command.
error An unexpected error occurred: "Command failed.
Exit code: 1
Command: sh
Arguments: -c yarn install && yarn install-backend &&
yarn install-shared && yarn install-web && yarn install-native
Directory: /home/ongraph/Desktop/node/my-business
Output:
".
info If you think this is a bug, please open a bug report with the
information provided in "/home/ongraph/Desktop/node/my-
business/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation
about this command.
error An unexpected error occurred: "Command failed.
Exit code: 1
Command: sh
Arguments: -c yarn install-all && yarn knex migrate:latest && yarn
generate-schema --ignore-engines
Снимок экрана: