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 ENOENT: yarn add pgspawn yarn ENOENT #25

Closed heavyengineer closed 2 years ago

heavyengineer commented 2 years ago

🐛 Bug Report

🤷‍♀️ What did you do

⛔️ Error log

Command failed with ENOENT: yarn add pg spawn yarn ENOENT

🕵️‍♀️ Stack trace

Error: Command failed with ENOENT: yarn add pg
spawn yarn ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:478:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

🙇‍♀️ Expected behavior/code

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

👩‍💻 Environment

💡 Possible Solution

📺 Additional context/Screenshots

heavyengineer commented 2 years ago

no idea what happened here. i was trying to buy some shoes and an ice cream.

Eventyret commented 2 years ago

Thank you for it, i will try see what I can do with it, it seems to me that it can't start yarn, could you check if yarn is globally installed 🤔

🍨

heavyengineer commented 2 years ago

i'm working on it. i think maybe there was a problem with node versions. i'll close the bug or update if i find the root cause.

Eventyret commented 2 years ago

That's OK thank you for reporting it. 😊