mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
Running the prior code in wrangler (but _not_ `npm run dev`) was generating errors during otel initialization. I was ultimately unable to figure out why, or how to fix them: ``` (warn) Initializing OpenTelemetry (error) Error initializing OpenTelemetry TypeError: Class constructor OTLPExporterBase2 cannot be invoked without 'new' ``` In the end, it was easier to just boil the ocean a little: With claude's help, write a custom otlp exporter and use that. Also use BasicTracerProvider instead of WebTracerProvider. This version is enough to generate spans from within local wrangler. |
||
---|---|---|
.github | ||
.husky | ||
app | ||
docs | ||
functions | ||
icons | ||
public | ||
types | ||
.dockerignore | ||
.editorconfig | ||
.env.example | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
.tool-versions | ||
bindings.sh | ||
changelog.md | ||
CONTRIBUTING.md | ||
docker-compose.yaml | ||
Dockerfile | ||
eslint.config.mjs | ||
FAQ.md | ||
LICENSE | ||
load-context.ts | ||
package.json | ||
pnpm-lock.yaml | ||
pre-start.cjs | ||
PROJECT.md | ||
README.md | ||
tsconfig.json | ||
uno.config.ts | ||
vite.config.ts | ||
worker-configuration.d.ts | ||
wrangler.toml |
Nut
Nut is an open source fork of Bolt.new for helping you develop full stack apps using AI. AI developers frequently struggle with fixing even simple bugs when they don't know the cause, and get stuck making ineffective changes over and over. We want to crack these tough nuts, so to speak, so you can get back to building.
When you ask Nut to fix a bug, it creates a Replay.io recording of your app and whatever you did to produce the bug. The recording captures all the runtime behavior of your app, which is analyzed to explain the bug's root cause. This explanation is given to the AI developer so it has context to write a good fix.
Setup
pnpm install
pnpm build
./node_modules/.bin/wrangler pages dev