GithubHelp home page GithubHelp logo

Comments (14)

daniellockyer avatar daniellockyer commented on May 16, 2024 1

This is weird 🤔

We haven't been seeing this with our internal builds but I do know we've run into it a few times with local dev. I think yarn is hoisting different versions of string-width up to the root, but I'm not entirely sure why

from ghost.

daniellockyer avatar daniellockyer commented on May 16, 2024 1

Potentially related to isaacs/jackspeak#5 + storybookjs/storybook#22431 (comment)

from ghost.

daniellockyer avatar daniellockyer commented on May 16, 2024 1

In fact, I think I'll just add a jackspeak resolution, as that solves it for most people

from ghost.

zac avatar zac commented on May 16, 2024

I'm also seeing this in my docker build. Let me know if I can help provide any more info 👍

from ghost.

ngeorger avatar ngeorger commented on May 16, 2024

Currently I'm using kubernetes and a different approach to the entrypoint. I'm using distroless node 20 debian 12 as the final stage, and the entrypoint is actually a nodejs script which moves the themes and then inits the main function to start ghost.
At the moment I'm not having any issue at least with arm64. If it suits you, you can test it out too, because anyways it's still based on the "official" image (at least in the logic and general workflow of the dockerfile)

@sredevopsorg/ghost-on-kubernetes

from ghost.

tianon avatar tianon commented on May 16, 2024

cc @acburdine 🙇 ❤️

(this is currently blocking updates to the ghost Docker image 😭)

from ghost.

ngeorger avatar ngeorger commented on May 16, 2024

cc @acburdine 🙇 ❤️

(this is currently blocking updates to the ghost Docker image 😭)

Hope this helps (and works 😂) docker-library/ghost#414

from ghost.

ngeorger avatar ngeorger commented on May 16, 2024

This is weird 🤔

We haven't been seeing this with our internal builds but I do know we've run into it a few times with local dev. I think yarn is hoisting different versions of string-width up to the root, but I'm not entirely sure why

The script which runs their tests is where the CI fails, at least as my understanding, probably I0m wrong: https://github.com/ngeorger/ghost/actions/runs/9014939335/job/24768631225#step:7:16

My approach is a bit different, I'm using multi stage builds and running fine on Kubernetes, both arm64 and amd64.

Maybe this helps a bit :) https://github.com/sredevopsorg/ghost-on-kubernetes/blob/19c3c93ec92c9f728a0e99cbf03f5bc490a0e847/Dockerfile#L5

PS: I actually solved many crashes using yarn instead of npm, I guess uou are right :)

Regards from Chile!

from ghost.

daniellockyer avatar daniellockyer commented on May 16, 2024

Can people try using Yarn v1.22.22? Apparently they fixed the transitive dependencies bug in that: https://github.com/yarnpkg/yarn/releases/tag/v1.22.22

from ghost.

daniellockyer avatar daniellockyer commented on May 16, 2024

Let's give this a go 🙂 Let me know if it re-occurs

from ghost.

muratcorlu avatar muratcorlu commented on May 16, 2024

Does that mean the solution didn't work? Or do we need to wait for next release?

from ghost.

LaurentGoderre avatar LaurentGoderre commented on May 16, 2024

We need to wait for the release (should have checked the history log before opening the PR)

from ghost.

daniellockyer avatar daniellockyer commented on May 16, 2024

Yep sorry, next release (today)

from ghost.

LaurentGoderre avatar LaurentGoderre commented on May 16, 2024

JackSpeak resolution was not enough unfortunately https://github.com/docker-library/ghost/actions/runs/9063454953/job/24899459788#step:7:33

from ghost.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.