Skip to content

Downloading swc-linux/swc-win32 on Mac #59392

@suhaotian

Description

@suhaotian

Link to the code that reproduces this issue

https://github.com/ts-monorepo/basic/tree/next-issue

To Reproduce

To reproduce:

  1. clone repo, checkout to next-issue branch
  2. run pnpm install, sometimes first time is ok
  3. but run again, will:
image

Current vs. Expected behavior

Should only download swc-darwin-x64

Verify canary release

  • I verified that the issue exists in the latest Next.js canary release

Provide environment information

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 22.5.0: Mon Apr 24 20:52:24 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6000
Binaries:
  Node: 18.18.2
  npm: 8.5.5
  Yarn: 1.22.5
  pnpm: 8.11.0
Relevant Packages:
  next: 14.0.4
  eslint-config-next: 14.0.4
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.1.6
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

pnpm

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue was opened via the bug report template.locked

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions