-
-
Notifications
You must be signed in to change notification settings - Fork 6
Description
.../node_modules/unrs-resolver postinstall: Error: [napi-postinstall@0.2.4] No napi.targets nor napi.triples.additional field found in unrs-resolver's package.json. Please ensure the package is built with NAPI support.
fullversion:
[22:14:52.719] Running build in Washington, D.C., USA (East) – iad1 [22:14:52.719] Build machine configuration: 4 cores, 8 GB [22:15:09.657] Cloning completed: 16.926s [22:15:10.042] Restored build cache from previous deployment [22:15:11.239] Running "vercel build" [22:15:11.683] Vercel CLI 42.2.0 [22:15:12.228] Detectedpnpm-lock.yaml 9 which may be generated by pnpm@9.x or pnpm@10.x [22:15:12.228] Using pnpm@9.x based on project creation date [22:15:12.229] To use pnpm@10.x, manually opt in using corepack (https://vercel.com/docs/deployments/configure-a-build#corepack) [22:15:12.259] Installing dependencies... [22:15:13.007] Lockfile is up to date, resolution step is skipped [22:15:13.082] Progress: resolved 1, reused 0, downloaded 0, added 0 [22:15:13.179] Packages: +14 [22:15:13.180] ++++++++++++++ [22:15:14.083] Progress: resolved 14, reused 0, downloaded 13, added 13 [22:15:15.456] Progress: resolved 14, reused 0, downloaded 14, added 13 [22:15:16.362] Progress: resolved 14, reused 0, downloaded 14, added 14, done [22:15:16.638] .../node_modules/unrs-resolver postinstall$ napi-postinstall unrs-resolver 1.8.0 check [22:15:16.706] .../node_modules/unrs-resolver postinstall: /vercel/path0/node_modules/.pnpm/napi-postinstall@0.2.4/node_modules/napi-postinstall/lib/helpers.js:55 [22:15:16.706] .../node_modules/unrs-resolver postinstall: throw new Error(errorMessage(No `napi.targets` nor `napi.triples.additional` field found in `${name}`'s `package.json`. Please ensure the package is built with NAPI support.)); [22:15:16.707] .../node_modules/unrs-resolver postinstall: ^ [22:15:16.707] .../node_modules/unrs-resolver postinstall: Error: [napi-postinstall@0.2.4] No napi.targetsnornapi.triples.additionalfield found inunrs-resolver's package.json. Please ensure the package is built with NAPI support. [22:15:16.707] .../node_modules/unrs-resolver postinstall: at getNapiInfoFromPackageJson (/vercel/path0/node_modules/.pnpm/napi-postinstall@0.2.4/node_modules/napi-postinstall/lib/helpers.js:55:15) [22:15:16.708] .../node_modules/unrs-resolver postinstall: at checkAndPreparePackage (/vercel/path0/node_modules/.pnpm/napi-postinstall@0.2.4/node_modules/napi-postinstall/lib/index.js:168:88) [22:15:16.708] .../node_modules/unrs-resolver postinstall: at Object.<anonymous> (/vercel/path0/node_modules/.pnpm/napi-postinstall@0.2.4/node_modules/napi-postinstall/lib/cli.js:5:44) [22:15:16.708] .../node_modules/unrs-resolver postinstall: at Module._compile (node:internal/modules/cjs/loader:1730:14) [22:15:16.708] .../node_modules/unrs-resolver postinstall: at Object..js (node:internal/modules/cjs/loader:1895:10) [22:15:16.709] .../node_modules/unrs-resolver postinstall: at Module.load (node:internal/modules/cjs/loader:1465:32) [22:15:16.709] .../node_modules/unrs-resolver postinstall: at Function._load (node:internal/modules/cjs/loader:1282:12) [22:15:16.709] .../node_modules/unrs-resolver postinstall: at TracingChannel.traceSync (node:diagnostics_channel:322:14) [22:15:16.709] .../node_modules/unrs-resolver postinstall: at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) [22:15:16.709] .../node_modules/unrs-resolver postinstall: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5) [22:15:16.710] .../node_modules/unrs-resolver postinstall: Node.js v22.15.1 [22:15:16.712] .../node_modules/unrs-resolver postinstall: Failed [22:15:16.723] ELIFECYCLE Command failed with exit code 1. [22:15:16.751] Error: Command "pnpm install" exited with 1 [22:15:18.064] [22:15:21.510] Exiting build container