sdk-typescript icon indicating copy to clipboard operation
sdk-typescript copied to clipboard

[Feature Request] Provide more output when webpack fails

Open lorensr opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe.

User:

I am getting this error, and it is hard to debug unless I know what source files are leading to these dependencies

image

Describe the solution you'd like

image

lorensr avatar Dec 30 '22 22:12 lorensr

Hey guys, @bergundy @lorensr any workarounds available until this get's sorted?

nadilas avatar Mar 10 '24 08:03 nadilas

+1. Been stuck on this for a while.

0xsiddharthks avatar Mar 13 '24 07:03 0xsiddharthks

Not yet.

If anyone wants to try this out, we may get more information from webpack by customizing the output if hasError is true in this line:

https://github.com/temporalio/sdk-typescript/blob/b38c70c2a5656a0e5fd2b3891cf2cc65b425e315/packages/worker/src/workflow/bundler.ts#L265

bergundy avatar Mar 13 '24 19:03 bergundy