Skip to content

ERR_UNKNOWN_BUILTIN_MODULE on pnpm run fresh-install #587

Description

@unbreakify

hi again! i've come across this error when attmepting to use a freshly made codespace. not too sure what could be causing it this time..

@unbreakify ➜ /workspaces/InvisiProxy (master) $ pnpm run fresh-install
warn: This version of pnpm requires at least Node.js v22.13
warn: The current version of Node.js is v20.20.2
warn: Visit https://r.pnpm.io/comp to see the list of past pnpm versions with respective Node.js version support.
node:internal/modules/cjs/loader:1031
      throw new ERR_UNKNOWN_BUILTIN_MODULE(request);
            ^

Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:sqlite
    at Module._load (node:internal/modules/cjs/loader:1031:13)
    at Module.require (node:internal/modules/cjs/loader:1289:19)
    at require (node:internal/modules/helpers:182:18)
    at ../store/index/lib/index.js (file:///home/node/.cache/node/corepack/v1/pnpm/11.24.0/dist/pnpm.mjs:102526:25)
    at __init (file:///home/node/.cache/node/corepack/v1/pnpm/11.24.0/dist/pnpm.mjs:17:58)
    at ../resolving/npm-resolver/lib/index.js (file:///home/node/.cache/node/corepack/v1/pnpm/11.24.0/dist/pnpm.mjs:106522:5)
    at __init (file:///home/node/.cache/node/corepack/v1/pnpm/11.24.0/dist/pnpm.mjs:17:58)
    at ../workspace/projects-graph/lib/index.js (file:///home/node/.cache/node/corepack/v1/pnpm/11.24.0/dist/pnpm.mjs:106675:5)
    at __init (file:///home/node/.cache/node/corepack/v1/pnpm/11.24.0/dist/pnpm.mjs:17:58)
    at ../workspace/projects-filter/lib/index.js (file:///home/node/.cache/node/corepack/v1/pnpm/11.24.0/dist/pnpm.mjs:108063:5) {
  code: 'ERR_UNKNOWN_BUILTIN_MODULE'
}

Node.js v20.20.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    possible issueFurther information is requested

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions