Skip to content

Command failed when running "pnpm run build" in root dir #12766

@JayFate

Description

@JayFate

Describe the bug

in github codespace, run following command

pnpm install
pnpm run build

comes out error:

image

│ shimmed: lilconfig/dist/index.js
│  ELIFECYCLE  Command failed with exit code 129.
│ ERROR: "build-bundle" exited with 1.
└─ Failed in 35s at /workspaces/vite/packages/vite
/workspaces/vite/packages/vite:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  [email protected] build: `rimraf dist && run-s build-bundle build-types`
Exit status 1
 ELIFECYCLE  Command failed with exit code 1.

Reproduction

no-Reproduction-url

Steps to reproduce

in github codespace, run following command

pnpm install
pnpm run build

System Info

System:
    OS: Linux 5.4 Ubuntu 20.04.5 LTS (Focal Fossa)
    CPU: (2) x64 Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
    Memory: 1.13 GB / 3.84 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 19.7.0 - ~/nvm/current/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 9.5.0 - ~/nvm/current/bin/npm
  npmPackages:
    @vitejs/release-scripts: ^1.1.0 => 1.1.0 
    vite: workspace:* => 4.3.0-beta.2

Used Package Manager

pnpm

Logs

│ shimmed: lilconfig/dist/index.js
│  ELIFECYCLE  Command failed with exit code 129.
│ ERROR: "build-bundle" exited with 1.
└─ Failed in 35s at /workspaces/vite/packages/vite
/workspaces/vite/packages/vite:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  [email protected] build: `rimraf dist && run-s build-bundle build-types`
Exit status 1
 ELIFECYCLE  Command failed with exit code 1.

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions