-
Notifications
You must be signed in to change notification settings - Fork 604
Open
Description
For the current main branch, use bun install && bun run build && bun run dev:
✅ yoga.wasm copied to dist
✅ cli.js made executable
✅ Build completed for cross-platform compatibility!
📋 Generated files:
- dist/ (ESM modules)
- dist/index.js (main entrypoint)
- dist/entrypoints/cli.js (CLI main)
- cli.js (cross-platform wrapper)
- .npmrc (npm configuration)
➜ kode-cli git:(main) bun run dev
$ bun run ./src/entrypoints/cli.tsx --verbose
2078 | .m(function (Command, cs, config, o) {
2079 | return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2080 | })
2081 | .s("AmazonBedrockFrontendService", "ApplyGuardrail", {})
2082 | .n("BedrockRuntimeClient", "ApplyGuardrailCommand")
2083 | .sc(ApplyGuardrail)
^
TypeError: smithyClient.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
}).s("AmazonBedrockFrontendService", "ApplyGuardrail", {}).n("BedrockRuntimeClient", "ApplyGuardrailCommand").sc is not a function. (In 'smithyClient.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
}).s("AmazonBedrockFrontendService", "ApplyGuardrail", {}).n("BedrockRuntimeClient", "ApplyGuardrailCommand").sc(ApplyGuardrail)', 'smithyClient.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
}).s("AmazonBedrockFrontendService", "ApplyGuardrail", {}).n("BedrockRuntimeClient", "ApplyGuardrailCommand").sc' is undefined)
at <anonymous> (/home/huang/Work/kode-cli/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js:2083:6)
at <anonymous> (/home/huang/Work/kode-cli/node_modules/@anthropic-ai/bedrock-sdk/AWS_restJson1.js:7:7)
at <anonymous> (/home/huang/Work/kode-cli/node_modules/@anthropic-ai/bedrock-sdk/streaming.js:12:7)
at <anonymous> (/home/huang/Work/kode-cli/node_modules/@anthropic-ai/bedrock-sdk/client.js:30:7)
at <anonymous> (/home/huang/Work/kode-cli/node_modules/@anthropic-ai/bedrock-sdk/index.js:4:7)
Bun v1.3.3 (Linux x64)
error: script "dev" exited with code 1
Metadata
Metadata
Assignees
Labels
No labels