Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meyda@5.5.1 incompatible with Node.js v18.11.0 #220

Open
bejucoo opened this issue Nov 13, 2022 · 1 comment
Open

meyda@5.5.1 incompatible with Node.js v18.11.0 #220

bejucoo opened this issue Nov 13, 2022 · 1 comment

Comments

@bejucoo
Copy link

bejucoo commented Nov 13, 2022

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?

@bejucoo
Copy link
Author

bejucoo commented Nov 13, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant