oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.12k stars 2.77k forks source link

Failed to install dependencies for Expo 51 #11860

Open divineniiquaye opened 4 months ago

divineniiquaye commented 4 months ago

How can we reproduce the crash?

Bun install on the latest version of bun doesn't work, I was using version 1.0.x and it worked fine, upgraded to the latest version today & it seems bun install doesn't work. I tried adding --force and --exact.

It still didn't work

Relevant log output

Request: GET /expo-application
    If-None-Match: W/"959eaf1f910a5ad1ddf464414438f98c"
    Accept: application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*
    Connection: keep-alive
    User-Agent: Bun/1.1.13
    Host: registry.npmjs.org
    Accept-Encoding: gzip, deflate, br

Response: < 304 Not Modified
<   Date: Fri, 14 Jun 2024 02:43:41 GMT
<   Connection: keep-alive
<   CF-Ray: 8936f969ecb17113-LIS
<   CF-Cache-Status: HIT
<   Access-Control-Allow-Origin: *
<   Age: 7
<   Cache-Control: public, max-age=300
<   ETag: "959eaf1f910a5ad1ddf464414438f98c"
<   Last-Modified: Wed, 15 May 2024 14:00:16 GMT
<   Vary: Accept-Encoding
<   Server: cloudflare

[PackageManager] waiting for 1 tasks
    [587.03ms]
Downloaded expo-application versions
   - "expo-application": "*" - expo-application@5.9.1
error: No version matching "^1.2.0" found for specifier "use-sync-external-store" (but package exists)

error: No version matching "^1.2.0" found for specifier "use-sync-external-store" (but package exists)

error: No version matching "^1.0.0" found for specifier "use-sync-external-store" (but package exists)

error: No version matching "^1.2.1" found for specifier "@jridgewell/set-array" (but package exists)

Stack Trace (bun.report)

No bun.report file was generated in my repo

dylan-conway commented 4 months ago

Can you share your package.json? Also are you using overrides in your package.json?