Hi Epsagon team, I am opening this issue to get your advice on using Epsagon with Typesscript React projects created via CRA.
There are several problems with my current setup:
- during project startup, we see a lot of errors without any reason. They are not blocking the build but makes the build logs on AWS very noisy and hard to read.
- When an exception happens, the errors doesn't refer to the source code (Typescript) instead they only indicate the main javascript bundle. Enables source maps on tsconfig did not solve the issue.
Could you please point me to a document that explains how to setup CRA Typescript projects? An example project will also be very useful.
Example of errors:
| 2022-09-06T14:30:52.786+01:00CopyFailed to parse source map from '/codebuild/output/src751190034/src/github.com///node_modules/@opentelemetry/api/src/internal/semver.ts' file: Error: ENOENT: no such file or directory, open '/codebuild/output/src751190034/src/github.com///node_modules/@opentelemetry/api/src/internal/semver.ts' |
Failed to parse source map from '/codebuild/output/src751190034/src/github.com///node_modules/@opentelemetry/api/src/internal/semver.ts' file: Error: ENOENT: no such file or directory, open '/codebuild/output/src751190034/src/github.com///node_modules/@opentelemetry/api/src/internal/semver.ts' |
Hi Epsagon team, I am opening this issue to get your advice on using Epsagon with Typesscript React projects created via CRA.
There are several problems with my current setup:
Could you please point me to a document that explains how to setup CRA Typescript projects? An example project will also be very useful.
Example of errors: