strapi-community / strapi-tool-dockerize

Easy add support for docker to your strapi project
MIT License
543 stars 35 forks source link

Error: Please add a title #112

Open spekulazarus opened 5 months ago

spekulazarus commented 5 months ago

πŸ› Bug Report

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

⛔️ Error log

Command failed with exit code 1: yarn add mysql Usage Error: The nearest package directory (/Users/fabianmargane/my-project) doesn't seem to be part of the project declared in /Users/fabianmargane.

$ yarn add [--json] [-F,--fixed] [-E,--exact] [-T,--tilde] [-C,--caret] [-D,--dev] [-P,--peer] [-O,--optional] [--prefer-dev] [-i,--interactive] [--cached] [--mode #0] ...

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

Error: Command failed with exit code 1: yarn add mysql
Usage Error: The nearest package directory (/Users/fabianmargane/my-project) doesn't seem to be part of the project declared in /Users/fabianmargane.

- If /Users/fabianmargane isn't intended to be a project, remove any yarn.lock and/or package.json file there.
- If /Users/fabianmargane is intended to be a project, it might be that you forgot to list my-project in its workspace configuration.
- Finally, if /Users/fabianmargane is fine and you intend my-project to be treated as a completely separate project (not even a workspace), create an empty yarn.lock file in it.

$ yarn add [--json] [-F,--fixed] [-E,--exact] [-T,--tilde] [-C,--caret] [-D,--dev] [-P,--peer] [-O,--optional] [--prefer-dev] [-i,--interactive] [--cached] [--mode #0] ...
    at makeError (/Users/fabianmargane/.npm/_npx/c78dafd2dc881eeb/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/fabianmargane/.npm/_npx/c78dafd2dc881eeb/node_modules/execa/index.js:118:26)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async installDependecies (/Users/fabianmargane/.npm/_npx/c78dafd2dc881eeb/node_modules/@strapi-community/dockerize/core/dependencies.js:21:3)
    at async /Users/fabianmargane/.npm/_npx/c78dafd2dc881eeb/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

πŸ’‘ Possible Solution

πŸ“Ί Additional context/Screenshots