bb-plugin-github:build: bb-plugin-github:build: ISOLATED_WORK/first/node_modules/.pnpm/esbuild@0.28.1/node_modules/esbuild/lib/main.js:1748 bb-plugin-github:build: let error = new Error(text); bb-plugin-github:build: ^ bb-plugin-github:build: bb-plugin-github:build: Error: Build failed with 2 errors: bb-plugin-github:build: server.ts:1:62: ERROR: [plugin: bb-plugin-sdk-resolution] "@get-bb/plugin-sdk/process" is installed for this plugin but its dist is not built: run the SDK build (ISOLATED_WORK/first/plugins/github/node_modules/@get-bb/plugin-sdk/dist/process.js is missing); a server entry's "@get-bb/plugin-sdk/process" import is bundled from the plugin's own SDK install (bb serves only the bare "@get-bb/plugin-sdk" at load time), so the plugin needs the built SDK bb-plugin-github:build: server.ts:5:7: ERROR: [plugin: bb-plugin-sdk-resolution] "@get-bb/plugin-sdk/host" is installed for this plugin but its dist is not built: run the SDK build (ISOLATED_WORK/first/plugins/github/node_modules/@get-bb/plugin-sdk/dist/host.js is missing); a server entry's "@get-bb/plugin-sdk/host" import is bundled from the plugin's own SDK install (bb serves only the bare "@get-bb/plugin-sdk" at load time), so the plugin needs the built SDK bb-plugin-github:build: at failureErrorWithLog (ISOLATED_WORK/first/node_modules/.pnpm/esbuild@0.28.1/node_modules/esbuild/lib/main.js:1748:15) bb-plugin-github:build: at ISOLATED_WORK/first/node_modules/.pnpm/esbuild@0.28.1/node_modules/esbuild/lib/main.js:1207:25 bb-plugin-github:build: at runOnEndCallbacks (ISOLATED_WORK/first/node_modules/.pnpm/esbuild@0.28.1/node_modules/esbuild/lib/main.js:1588:45) bb-plugin-github:build: at buildResponseToResult (ISOLATED_WORK/first/node_modules/.pnpm/esbuild@0.28.1/node_modules/esbuild/lib/main.js:1205:7) bb-plugin-github:build: at ISOLATED_WORK/first/node_modules/.pnpm/esbuild@0.28.1/node_modules/esbuild/lib/main.js:1232:16 bb-plugin-github:build: at responseCallbacks. (ISOLATED_WORK/first/node_modules/.pnpm/esbuild@0.28.1/node_modules/esbuild/lib/main.js:884:9) bb-plugin-github:build: at handleIncomingPacket (ISOLATED_WORK/first/node_modules/.pnpm/esbuild@0.28.1/node_modules/esbuild/lib/main.js:939:12) bb-plugin-github:build: at Socket.readFromStdout (ISOLATED_WORK/first/node_modules/.pnpm/esbuild@0.28.1/node_modules/esbuild/lib/main.js:862:7) bb-plugin-github:build: at Socket.emit (node:events:519:28) bb-plugin-github:build: at addChunk (node:internal/streams/readable:561:12) { bb-plugin-github:build: errors: [Getter/Setter], bb-plugin-github:build: warnings: [Getter/Setter] bb-plugin-github:build: } bb-plugin-github:build: bb-plugin-github:build: Node.js v22.19.0 bb-plugin-github:build:  ELIFECYCLE  Command failed with exit code 1. bb-plugin-simple-notes:build: ✘ [ERROR] Could not resolve "@get-bb/plugin-sdk" bb-plugin-simple-notes:build: bb-plugin-simple-notes:build: contract.ts:1:34: bb-plugin-simple-notes:build: 1 │ import { defineRpcContract } from "@get-bb/plugin-sdk"; bb-plugin-simple-notes:build: ╵ ~~~~~~~~~~~~~~~~~~~~ bb-plugin-simple-notes:build: bb-plugin-simple-notes:build: The module "./dist/index.js" was not found on the file system: bb-plugin-simple-notes:build: bb-plugin-simple-notes:build: node_modules/@get-bb/plugin-sdk/package.json:26:16: bb-plugin-simple-notes:build: 26 │ "import": "./dist/index.js", bb-plugin-simple-notes:build: ╵ ~~~~~~~~~~~~~~~~~ bb-plugin-simple-notes:build: bb-plugin-simple-notes:build: You can mark the path "@get-bb/plugin-sdk" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle. bb-plugin-simple-notes:build: bb-plugin-github#build: ERROR command (ISOLATED_WORK/first/plugins/github) /usr/local/bin/pnpm run build exited (1) Tasks: 10 successful, 19 total Cached: 4 cached, 19 total Time: 3.153s Failed: bb-plugin-github#build ERROR run failed: command exited (1)