yarn build shows zero output #7406
Unanswered
georgeharito
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be nice if the build step in production shows something at the command line. I use
yarn build
during my CI process and there's just 2 minutes of no output at the command line before the build step has completed. Sometimes there's issues at the build step, so my CI minutes are spent waiting for output or an error message that never shows up. When I'm using a free tier for my CI platform (bitbucket in my case) and I can't see what is holding up the progress of my build, not only is it impossible to debug, but it's costing me in allotted minutes too.I tried adding the
enableImmutableInstalls: true
line to my.yarnrc.yml
but it made no difference. Googling around, I can't even see if/where yarn puts its log files, there isn't a yarn directory in/tmp
for me.As a comparison, I use NuxtJS for my front-end, and its build process (even in CI) is amazing. It shows what step it's at, and what files it has generated. PayloadCMS pales in comparison.
If I am doing something wrong in my setup, please let me know, I couldn't find anything in the official PayloadCMS docs about a more verbose build step, and yarn docs and Google results bore no fruit.
Beta Was this translation helpful? Give feedback.
All reactions