sentry-docs icon indicating copy to clipboard operation
sentry-docs copied to clipboard

Support for Typscript soucemap upload without webpack

Open AllanDaemon opened this issue 4 years ago • 6 comments

Issue

This an issue with: Platform/SDK documentation (Which one?)

Description

This page https://docs.sentry.io/platforms/node/sourcemaps/ (as referenced by https://docs.sentry.io/platforms/node/typescript/), have only instructions to node sourcemaps using webpack. But there are many, if not most, projects that don't use webpack.

Trying to use the documentation here https://docs.sentry.io/product/cli/releases/#sentry-cli-sourcemaps doesn't help. In this specific case, even after followed the whole documentation for sourcemaps and typescript, it can't get the original file (the .ts in this case) to upload (- warning: missing sourcecode (/file.ts)).

I looked in all the documentation (including trying the many flags in the last link), and nothing helped.

AllanDaemon avatar May 20 '21 22:05 AllanDaemon

Routing to @getsentry/team-webplatform for triage. ⏲️

getsentry-release avatar May 21 '21 15:05 getsentry-release

@AllanDaemon - thanks for your notes on this issue. We'll be updating the Node documentation, including the source maps content as tracked in this issue.

PeloWriter avatar May 21 '21 15:05 PeloWriter

@onurtemizkan - could you please also include this issue regarding Node source maps documentation in the update?

PeloWriter avatar Jun 02 '21 20:06 PeloWriter

Any ETA on this? thanks!

katebygrace avatar Jun 08 '21 18:06 katebygrace

Related: https://github.com/getsentry/sentry-docs/pull/3693#discussion_r673535991

onurtemizkan avatar Jul 25 '21 10:07 onurtemizkan

@onurtemizkan, is this resolved already? Can we close it?

vladanpaunovic avatar Oct 14 '22 13:10 vladanpaunovic

@vladanpaunovic -- Just checked with a simple project without webpack, and it seems to be working fine when I followed https://docs.sentry.io/platforms/node/sourcemaps/generating/#typescript and uploaded source maps using sentry-cli.

@AllanDaemon, please feel free to reopen if you have a specific setup that's still having issues. Thanks!

onurtemizkan avatar Oct 28 '22 13:10 onurtemizkan