oven-sh / bun

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

Bun update --latest sometimes cannot get tag from npm (mirrors?) #12041

Open Huliiiiii opened 2 weeks ago

Huliiiiii commented 2 weeks ago

What version of Bun is running?

1.1.15

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What steps can reproduce the bug?

bun update --latest // Probably only happens when using npm mirrors

What is the expected behavior?

Update success

What do you see instead?

bun update --latest [0.00ms] ".env" bun update v1.1.15 (b23ba1fe) error: Package "fp-ts" with tag "latest" not found, but package exists
error: fp-ts@latest failed to resolve

Additional information

No response

dylan-conway commented 2 weeks ago

Can you share the dependencies you are updating in your package.json?

Huliiiiii commented 2 weeks ago
"dependencies": {
    "@ark-ui/solid": "^3.3.0",
    "@eslint/js": "^9.5.0",
    "@floating-ui/dom": "^1.6.5",
    "@modular-forms/solid": "^0.21.0",
    "@sinclair/typebox": "^0.32.33",
    "@solid-primitives/destructure": "^0.1.17",
    "@solidjs/meta": "^0.29.4",
    "@solidjs/router": "^0.13.6",
    "@solidjs/start": "1.0.2",
    "dayjs": "^1.11.11",
    "edgedb": "^1.5.7",
    "fp-ts": "^2.16.6",
    "globals": "^15.6.0",
    "ramda": "^0.30.1",
    "solid-floating-ui": "^0.3.1",
    "solid-js": "^1.8.17",
    "solid-popper": "^0.3.0",
    "solid-radix-icons": "^1.0.0",
    "tailwind-merge": "^2.3.0",
    "ts-pattern": "^5.2.0",
    "valibot": "^0.33.3",
    "vinxi": "^0.3.12",
  },
  "devDependencies": {
    "@babel/eslint-parser": "^7.24.7",
    "@edgedb/generate": "^0.5.3",
    "@solidjs/testing-library": "^0.8.8",
    "@testing-library/jest-dom": "^6.4.6",
    "@testing-library/user-event": "^14.5.2",
    "@types/bun": "^1.1.5",
    "@types/eslint-config-prettier": "^6.11.3",
    "@types/eslint__js": "^8.42.3",
    "@types/ramda": "^0.30.0",
    "@typescript-eslint/eslint-plugin": "^7.13.1",
    "@typescript-eslint/parser": "^7.13.1",
    "autoprefixer": "^10.4.19",
    "babel-preset-solid": "^1.8.17",
    "commitizen": "^4.3.0",
    "daisyui": "^4.12.2",
    "eslint": "^9.5.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-jsx-a11y": "^6.9.0",
    "eslint-plugin-solid": "^0.14.1",
    "jsdom": "^24.1.0",
    "postcss": "^8.4.38",
    "prettier": "3.3.2",
    "prettier-plugin-tailwindcss": "^0.6.5",
    "tailwindcss": "^3.4.4",
    "typescript": "^5.5.2",
    "typescript-eslint": "^7.13.1",
    "vite-tsconfig-paths": "^4.3.2",
    "vitest": "^1.6.0"
  },