Skip to content

Issue with coach core when using alongside sitespeed #4546

@Sarthakgp

Description

@Sarthakgp

Your question

So I have ubuntu 24 docker image and I am installing sitespeed in it. Few months ago the build were being built properly however when I tried today I faced below issue

tries to install @sitespeed.io/edgedriver which fails when I do a cloud build
To resolve this I did below change
RUN bash -c ". $NVM_DIR/nvm.sh && nvm use 20 && cd /tmp/coach-core && npm install --production --no-optional--loglevel verbose"
After this I faced below issue

mkdirp/terser missing because coach-core runs its prepare script (which requires devDependencies).
To resolve this I changed the command to below
RUN bash -c ". $NVM_DIR/nvm.sh && nvm use 20 && cd /tmp/coach-core && npm install --omit=optional --loglevel verbose"
Which revolves me back to edgedriver error. Any help with this as I had not faced this issue before. Were any changes made in package.json

I basically install replace actual coachcore with the forked coach core repo. But I was able to do this successfully few months ago. @soulgalore any advice on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions