Skip to content

❗ Error: Yarn error after running dockerize commandΒ #137

@ramazansancar

Description

@ramazansancar

πŸ› Bug Report

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

Run:

npx @strapi-community/dockerize@latest

√ Do you want to create a docker-compose file? 🐳 ... No / Yes
√ What environments do you want to configure? » Development
√ Whats the name of the project? ... *****-cms
√ What database do you want to use? » MySQL
√ Database Host ... localhost
√ Database Name ... *****
√ Database Username ... ****
√ Database Password ... ****************
√ Database Port ... 3306
🐳  Checking for existing Docker files...

⛔️ Error log

Command failed with exit code 1: yarn add mysql
error Error: EISDIR: illegal operation on a directory, read
yarn add v1.22.22
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 Error: EISDIR: illegal operation on a directory, read
yarn add v1.22.22
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
    at makeError (C:\Users\RS\AppData\Local\npm-cache\_npx\a642ee8303c0fc2f\node_modules\execa\lib\error.js:60:11)
    at handlePromise (C:\Users\RS\AppData\Local\npm-cache\_npx\a642ee8303c0fc2f\node_modules\execa\index.js:118:26)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async installDependecies (C:\Users\RS\AppData\Local\npm-cache\_npx\a642ee8303c0fc2f\node_modules\@strapi-community\dockerize\core\dependencies.js:21:3)
    at async C:\Users\RS\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: v20.11.0
  • πŸ’» OS: win32 x64

πŸ’‘ Possible Solution

πŸ“Ί Additional context/Screenshots

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions