strapi-community / strapi-tool-dockerize

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

Error: Command failed with exit code 1: yarn add pgERROR: [Errno 2] No such file or directory: 'add' #56

Closed mrgobbo closed 1 year ago

mrgobbo commented 1 year ago

πŸ› Bug Report

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

⛔️ Error log

Command failed with exit code 1: yarn add pg ERROR: [Errno 2] No such file or directory: 'add'

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

Error: Command failed with exit code 1: yarn add pg
ERROR: [Errno 2] No such file or directory: 'add'
    at makeError (/home/mario/.npm/_npx/c78dafd2dc881eeb/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/home/mario/.npm/_npx/c78dafd2dc881eeb/node_modules/execa/index.js:118:26)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async installDependecies (/home/mario/.npm/_npx/c78dafd2dc881eeb/node_modules/@strapi-community/dockerize/core/dependencies.js:21:3)
    at async /home/mario/.npm/_npx/c78dafd2dc881eeb/node_modules/@strapi-community/dockerize/index.js:57:4

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

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

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

πŸ’‘ Possible Solution

πŸ“Ί Additional context/Screenshots

mrgobbo commented 1 year ago

Sorry, it opened the issue automatically, seems to be my mistake setting the environment