Skip to content

Issue: postinstall breaks during ci installation #2704

Description

@rafael-lua

This is a weird one.

Run bun install
bun install v1.3.12 (700fc117)
Resolving dependencies
Resolved, downloaded and extracted [2]
bash: -c: line 1: syntax error near unexpected token `('
bash: -c: line 1: `/home/runner/.proto/tools/node/22.22.2/bin/node -e import('./config/scripts/postinstall.js').catch(() => void 0)'

error: postinstall script from "msw" exited with 2

I tried everything, including new version of msw, bun, node and full actions cache clear. Nothing resolved. I had to remove msw from trustedDependencies, so its postinstall is blocked by bun.

My current proto versions are:

node = "22.22.2"
npm = "bundled"
proto = "0.56.0"
bun = "1.3.12"

Only happened in CI though (github actions).

Started out of nowhere between yesterday and today.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions