Dimensional FunDF
Dimensional Fun9mo ago
9 replies
max

Lavaclient v5 dependency issue with pnpm10

hey! haven't been here in a while;

Done in 1m 40.1s using pnpm v10.8.0

> quaver@7.2.0 build D:\Documents\GitHub\Quaver
> rimraf dist/ && genversion --es6 --semi src/lib/util/version.ts && tsc && tsc-alias


> quaver@7.2.0 start D:\Documents\GitHub\Quaver
> node .

node:internal/modules/esm/resolve:314
  return new ERR_PACKAGE_PATH_NOT_EXPORTED(
         ^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './ReadonlyArray' is not defined by "exports" in D:\Documents\GitHub\Quaver\node_modules\.pnpm\@effect+schema@0.49.4_effect@3.14.6_fast-check@3.23.2\node_modules\effect\package.json
    at exportsNotFound (node:internal/modules/esm/resolve:314:10)
    at packageExportsResolve (node:internal/modules/esm/resolve:662:9)
    at resolveExports (node:internal/modules/cjs/loader:638:36)
    at Function._findPath (node:internal/modules/cjs/loader:743:31)
    at Function._resolveFilename (node:internal/modules/cjs/loader:1230:27)
    at Function._load (node:internal/modules/cjs/loader:1070:27)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
    at Module.require (node:internal/modules/cjs/loader:1335:12)
    at require (node:internal/modules/helpers:136:16) {
  code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}

Node.js v22.13.1
 ELIFECYCLE  Command failed with exit code 1.

we're currently seeing this issue after running pnpm i with pnpm 10 (pnpm 8 doesn't have this issue) - i believe there's some issue with the @effect/schema dep, although i wasn't able to dig too deep into it
Was this page helpful?