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

Error: During deockerizing #121

Open
olgierdfrontrunners opened this issue Jun 27, 2024 · 1 comment
Open

Error: During deockerizing #121

olgierdfrontrunners opened this issue Jun 27, 2024 · 1 comment
Assignees

Comments

@olgierdfrontrunners
Copy link

olgierdfrontrunners commented Jun 27, 2024

πŸ› Bug Report

πŸ€·β€β™€οΈ What did you do

I'ts a long story how I stuck with incompatible version, project is working.

⛔️ Error log

Command failed with exit code 1: yarn add mysql
error @strapi/plugin-graphql@4.25.1: The engine "node" is incompatible with this module. Expected version ">=18.0.0 <=20.x.x". Got "16.15.1"
error Found incompatible module.
yarn add v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

πŸ•΅οΈβ€β™€οΈ Stack trace

Error: Command failed with exit code 1: yarn add mysql
error @strapi/plugin-graphql@4.25.1: The engine "node" is incompatible with this module. Expected version ">=18.0.0 <=20.x.x". Got "16.15.1"
error Found incompatible module.
yarn add v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
    at makeError (C:\Users\OlgierdFrontrunnersM\AppData\Local\npm-cache\_npx\a642ee8303c0fc2f\node_modules\execa\lib\error.js:60:11)
    at handlePromise (C:\Users\OlgierdFrontrunnersM\AppData\Local\npm-cache\_npx\a642ee8303c0fc2f\node_modules\execa\index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async installDependecies (C:\Users\OlgierdFrontrunnersM\AppData\Local\npm-cache\_npx\a642ee8303c0fc2f\node_modules\@strapi-community\dockerize\core\dependencies.js:21:3)
    at async C:\Users\OlgierdFrontrunnersM\AppData\Local\npm-cache\_npx\a642ee8303c0fc2f\node_modules\@strapi-community\dockerize\index.js:63:4

πŸ™‡β€β™€οΈ Expected behavior/code

A clear and concise description of what you expected to happen (or code).

πŸ‘©β€πŸ’» Environment

  • πŸ“¦ Node version: v16.15.1
  • πŸ’» OS: win32 x64

πŸ’‘ Possible Solution

Well, I've checked if your script run if I'll chahge the node version with nvm use 20.15.0, already installed, and dockerizing end with succes, so maybe changind version will help in cases like my :). Sorry i'am just newbie with node, strapi etc.

πŸ“Ί Additional context/Screenshots

@olgierdfrontrunners olgierdfrontrunners changed the title Error: Please add a title Error: During deockerizing Jun 27, 2024
@Eventyret
Copy link
Member

Seems you need to update your node to min 18 as you are using 16

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

2 participants