max
max
DFDimensional Fun
Created by max on 4/9/2025 in #lavaclient
Lavaclient v5 dependency issue with pnpm10
hey! haven't been here in a while;
Done in 1m 40.1s using pnpm v10.8.0

> [email protected] build D:\Documents\GitHub\Quaver
> rimraf dist/ && genversion --es6 --semi src/lib/util/version.ts && tsc && tsc-alias


> [email protected] 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\@[email protected][email protected][email protected]\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.
Done in 1m 40.1s using pnpm v10.8.0

> [email protected] build D:\Documents\GitHub\Quaver
> rimraf dist/ && genversion --es6 --semi src/lib/util/version.ts && tsc && tsc-alias


> [email protected] 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\@[email protected][email protected][email protected]\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
16 replies
DFDimensional Fun
Created by max on 5/22/2024 in #lavaclient
lavaclient's rc tag is still pointing to 5.0.0-rc.2
as title describes, this causes an issue with dependency resolution in node as @lavaclient/plugin-effects points to lavaclient@"rc" but it's using an older version
40 replies
DFDimensional Fun
Created by max on 12/5/2022 in #lavaclient
Difference between pause(false) and resume()
What's the difference between pause(false) and resume()?
3 replies