ITADN

[bug]: Something went wrong. Please check the error below for more details.

#10793Opensovik3232 创建于 2026-05-28
bug
S
sovik3232commented
### Describe the bug pnpm dlx shadcn@latest init [WARN] 1 deprecated subdependencies found: node-domexception@1.0.0 Packages: +345 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Progress: resolved 345, reused 0, downloaded 345, added 345, done ✔ Choose which packages to build (Press <space> to select, <a> to toggle all, <i> to invert selection) · No items were selected All packages were added to allowBuilds with value false. ✔ Select a component library › Base ✔ Which preset would you like to use? › Nova ✔ Preflight checks. ✔ Verifying framework. Found Next.js. ✔ Validating Tailwind CSS. Found v4. ✔ Validating import alias. ✔ Writing components.json. ✔ Checking registry. ⠦ Installing dependencies. Something went wrong. Please check the error below for more details. If the problem persists, please open an issue on GitHub. Command failed with exit code 1: pnpm add clsx tailwind-merge 'shadcn@latest' class-variance-authority tw-animate-css '@base-ui/react' lucide-react Progress: resolved 1, reused 0, downloaded 0, added 0 Progress: resolved 18, reused 10, downloaded 5, added 0 Progress: resolved 125, reused 70, downloaded 35, added 0 Progress: resolved 252, reused 112, downloaded 116, added 0 Progress: resolved 414, reused 208, downloaded 155, added 0 Progress: resolved 574, reused 278, downloaded 208, added 0 Progress: resolved 635, reused 324, downloaded 233, added 0 Progress: resolved 663, reused 349, downloaded 243, added 0 [WARN] 1 deprecated subdependencies found: node-domexception@1.0.0 Progress: resolved 679, reused 361, downloaded 246, added 0 Packages: +252 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Progress: resolved 679, reused 361, downloaded 247, added 252, done dependencies: + @base-ui/react 1.5.0 + class-variance-authority 0.7.1 + clsx 2.1.1 + lucide-react 1.16.0 + shadcn 4.8.1 (4.8.2 is available) + tailwind-merge 3.6.0 + tw-animate-css 1.4.0 [ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: msw@2.14.6 Run "pnpm approve-builds" to pick which dependencies should be allowed to run scripts. You can also try a previous version to see if that works: pnpm dlx shadcn@4.7.0 init ### Affected component/components no one ### How to reproduce 1. npx create-next-app@latest 2. pnpm dlx shadcn@latest init ### Codesandbox/StackBlitz link _No response_ ### Logs ```bash ``` ### System Info ```bash linux manjaro last update ``` ### Before submitting - [x] I've made research efforts and searched the documentation - [x] I've searched for existing issues
0 条评论