Je galère à installer les dépendances avec yarn que j’ai pourtant bien installer avec sudo apt-get install yarn
sb@sb-N550JV:~/deve/duniter_project/duniter_server_nodejs/duniter$ yarn install --force
yarn install v1.3.2
[1/5] Validating package.json…
error duniter@1.6.14: The engine “node” is incompatible with this module. Expected version “>=6 <9”.
error Found incompatible module
info Visit yarn install | Yarn for documentation about this command.
12 nov. 2017 - 5 messages - 2 auteurs J’ai corrigé dans le projet afin d’avoir le message d’erreur au plus tôt : “engines”: { “node”: “>=6 <9”, “npm”: “>=3.10” }. Donc si l’on teste avec Node v9 : $ yarn yarn install v1.3.2 [1/5] Validating package.json… error duniter@1.6.13: The engine “node” is incompatible with this module. Expected version ">=6 …
$ yarn
yarn install v1.3.2
[1/5] Validating package.json…
error duniter@1.6.14: The engine “node” is incompatible with this module. Expected version “>=6 <9”.
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.