Skip to content

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

Closed

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  vite@4.3.0-beta.2 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  vite@4.3.0-beta.2 build: `rimraf dist && run-s build-bundle build-types`
Exit status 1
 ELIFECYCLE  Command failed with exit code 1.

Validations

Activity

  1. sapphi-red commented on Apr 6, 2023

    @sapphi-red
    Member

    I wasn't able to reproduce with github codespace.

  2. locked and limited conversation to collaborators on Apr 6, 2023
  3. converted this issue into a discussion #12768 on Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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