Skip to content

ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @dub/[email protected] build: tsup #3105

@sanchojaf

Description

@sanchojaf

node v23.4.0

pnpm -r --filter @dub/ui build
apps/web                                 |  WARN  The field "pnpm.overrides" was found in /Users/sanchojaf/Documents/dub/apps/web/package.json. This will not take effect. You should configure "pnpm.overrides" at the root of the workspace instead.
packages/stripe-app                      |  WARN  The field "resolutions" was found in /Users/sanchojaf/Documents/dub/packages/stripe-app/package.json. This will not take effect. You should configure "resolutions" at the root of the workspace instead.

> @dub/[email protected] build /Users/sanchojaf/Documents/dub/packages/ui
> tsup

CLI Building entry: {"index":"src/index.tsx","icons/index":"src/icons/index.tsx","charts/index":"src/charts/index.ts"}
CLI Using tsconfig: tsconfig.json
CLI tsup v6.1.3
CLI Using tsup config: /Users/sanchojaf/Documents/dub/packages/ui/tsup.config.ts
CLI Target: node14
ESM Build start
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
DTS Build start
ESM ⚡️ Build success in 731ms
ESM dist/chunk-NWME2ANF.mjs 658.00 B
ESM dist/icons/index.mjs    6.01 KB
ESM dist/index.mjs          193.13 KB
ESM dist/index.css          99.43 KB
ESM dist/chunk-JVIWPQO4.mjs 80.39 KB
ESM dist/chunk-FC7MJASN.mjs 336.25 KB
ESM dist/charts/index.mjs   14.75 KB
src/charts/areas.tsx(122,37): error TS2550: Property 'at' does not exist on type 'Data<Datum>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
src/charts/areas.tsx(123,53): error TS2550: Property 'at' does not exist on type 'Data<Datum>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.

Error: error occured in dts build
    at Worker.<anonymous> (/Users/sanchojaf/Documents/dub/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_@[email protected]_rtsvfnetpitqeobtufqz7hpntm/node_modules/tsup/dist/index.js:2074:22)
    at Worker.emit (node:events:513:28)
    at MessagePort.<anonymous> (node:internal/worker:267:53)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
    at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
DTS Build error
Error: Failed to compile. Check the logs above.
    at error (/Users/sanchojaf/Documents/dub/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:198:30)
    at throwPluginError (/Users/sanchojaf/Documents/dub/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:21718:12)
    at Object.error (/Users/sanchojaf/Documents/dub/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:22672:20)
    at Object.error (/Users/sanchojaf/Documents/dub/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:21895:42)
    at Object.transform (/Users/sanchojaf/Documents/dub/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_@[email protected]_rtsvfnetpitqeobtufqz7hpntm/node_modules/tsup/dist/rollup.js:8358:20)
    at /Users/sanchojaf/Documents/dub/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:22879:40
/Users/sanchojaf/Documents/dub/packages/ui:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @dub/[email protected] build: `tsup`
Exit status 1

PR #3104

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions