Closed 0618 closed 1 year ago
Hi, thanks for the issue!
As explained in the old issue, please try https://github.com/gatsbyjs/gatsby/issues/35426#issuecomment-1099798549. Our code uses https://github.com/ascorbic/tiny-spin to create a spinner icon. It uses process.stderr.cursorTo
.
https://nodejs.org/docs/latest-v18.x/api/readline.html#rlcursortox-y
Reading https://github.com/nodejs/node-v0.x-archive/issues/6933 it seems that this is only available in TTY streams though. And according to https://github.com/actions/runner/issues/241 GitHub actions has problems with that (and only workarounds). So I'd also try these.
Please make sure that you run create-gatsby
in the right environment and let us know if you need any more guidance. Thanks!
@LekoArts https://github.com/gatsbyjs/gatsby/issues/35426#issuecomment-1099798549 doesn't work as you can see in the original issue. --no-color
is for gatsby build
, but the issue is from create-gatsby
. Also, adding GATSBY_LOGGER=yurnalist
before create-gatsby
doesn't work either.
The issue is still not resolved. Please do not close it.
And according to https://github.com/actions/runner/issues/241 GitHub actions has problems with that (and only workarounds). So I'd also try these.
You should try these then. We're just using Node.js functions that should always be available.
Anyways, you can also just remove create-gatsby
and do a git clone
of https://github.com/gatsbyjs/gatsby-starter-minimal. Because that's all what npx create-gatsby@latest -y
is doing.
Preliminary Checks
Description
When running
npx create-gatsby@latest -y my-gatsby
on Github Workflow, got following errorSame as https://github.com/gatsbyjs/gatsby/issues/35426
Reproduction Link
https://github.com/0618/amplify-ui/actions/runs/4634161974/jobs/8200091938
Steps to Reproduce
npx create-gatsby@latest -y my-gatsby
Expected Result
Shouldn't crash
Actual Result
See error
Environment
Config Flags
No response