meyda@5.5.1 incompatible with Node.js v18.11.0
bejucoo opened this issue · comments
bejuco commented
Hello,
I'm trying to run Hydra locally. When I get to the yarn install
step I get the following errors:
error meyda@5.5.1: The engine "node" is incompatible with this module. Expected version "^10 || ^12 || ^13 || ^14 || ^15 || ^16 || ^17". Got "18.11.0"
error Found incompatible module.
Apart from downgrading node to a previous version is there any other way to correct this?
bejuco commented
I used nvm to install other versions of node. I tried 16.18.1 and 14.21.1. The yarn install
step runned ok but the yarn serve
command got this:
yarn serve
yarn run v1.22.19
$ yarn --cwd backend start
warning package.json: License should be a valid SPDX license expression
$ node server.js
node:internal/fs/utils:347
throw err;
^
Error: ENOENT: no such file or directory, open '.....path..../hydra/backend/certs/key.pem'
at Object.openSync (node:fs:590:3)
at Object.readFileSync (node:fs:458:35)
at module.exports (.....path..../hydra/backend/configure-ssl.js:23:25)
at Object.<anonymous> (.....path..../hydra/backend/server.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1155:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:22:47 {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '.....path..../hydra/backend/certs/key.pem'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I saved again the two files deleted in #2433eb6 and now it's working fine.