strapi-tool-dockerize icon indicating copy to clipboard operation
strapi-tool-dockerize copied to clipboard

Error: Command failed with ENOENT: yarn add pgspawn yarn ENOENT

Open heavyengineer opened this issue 3 years ago • 4 comments

🐛 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

  • 📦 Node version: v16.17.0
  • 💻 OS: linux x64

💡 Possible Solution

📺 Additional context/Screenshots

heavyengineer avatar Aug 25 '22 20:08 heavyengineer

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

heavyengineer avatar Aug 25 '22 20:08 heavyengineer

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 🤔

🍨

Eventyret avatar Aug 26 '22 07:08 Eventyret

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.

heavyengineer avatar Aug 26 '22 12:08 heavyengineer

That's OK thank you for reporting it. 😊

Eventyret avatar Aug 27 '22 07:08 Eventyret