T
TanStack•6d ago
inland-turquoise

Sentry setup with start?

Reading so many mixed/outdated templates on how to setup Sentry, anyone has some doc/repo to share?
9 Replies
optimistic-gold
optimistic-gold•5d ago
TanStack Start React | Sentry for TanStack Start React
Learn how to set up and configure Sentry in your TanStack Start React application, capturing your first errors, and viewing them in Sentry.
inland-turquoise
inland-turquoiseOP•5d ago
thanks looks good, but still not sure how/where to put my org, project etc creadentials 🤔 on sentry dashboard they still have old vinxi setup configuration I believe https://[your-id].sentry.io/insights/projects/[your-project]/getting-started/
inland-turquoise
inland-turquoiseOP•5d ago
No description
optimistic-gold
optimistic-gold•4d ago
Yeah I remember seeing that, let me check my current config so I can report back
inland-turquoise
inland-turquoiseOP•3d ago
@Maky any luck?
optimistic-gold
optimistic-gold•3d ago
i have this on my vite.config.ts: import { sentryVitePlugin } from "@sentry/vite-plugin"; import tailwindcss from "@tailwindcss/vite"; import { tanstackStart } from "@tanstack/react-start/plugin/vite"; import viteReact from "@vitejs/plugin-react"; import { defineConfig } from "vite"; import viteTsConfigPaths from "vite-tsconfig-paths"; export default defineConfig({ optimizeDeps: { entries: ["src//*.tsx", "src//*.ts"], }, server: { port: 3000, host: true, warmup: { clientFiles: ["./src/server.tsx"], }, }, plugins: [ tailwindcss(), viteTsConfigPaths({ projects: ["./tsconfig.json"], }), tanstackStart({ customViteReactPlugin: true, target: "node-server", }), viteReact(), sentryVitePlugin({ org: process.env.SENTRY_ORG, project: process.env.SENTRY_PROJECT, authToken: process.env.SENTRY_AUTH_TOKEN, // Only print logs for uploading source maps in CI // Set to true to suppress logs // silent: !process.env.CI, // disable: process.env.NODE_ENV === "development", }), ], });
inland-turquoise
inland-turquoiseOP•2d ago
thanks, but still no success for me, I guess I have setup something wrong, hard to find what and where...
optimistic-gold
optimistic-gold•2d ago
I used https://github.com/CarlosZiegler/fullstack-start-template this template for sentry setup
GitHub
GitHub - CarlosZiegler/fullstack-start-template: This project provi...
This project provides a solid foundation for building modern web applications using a curated stack of technologies focused on developer experience, performance, and type safety. - CarlosZiegler/fu...
inland-turquoise
inland-turquoiseOP•21h ago
thanks, still no luck, I guess I need to take a break 😄

Did you find this page helpful?