#Nest JS and Typescript with SWC is not compiling dist folder correctly

4 messages · Page 1 of 1 (latest)

tame saddle
#

Hi all I'm getting this error. I have surf through all the internet but haven't found any useful solution and even the GitHub discussion was not even useful for me on this topic below are the some screenshots related to the same topic and the error I'm getting.

I have tried verything using tspath and removing dist folder and removing package-lock.json node_modules, but nothing worked

candid halo
#

The config still looks wrong by the look of it. src/ shouldn’t be part of that require path since main is inside src

tame saddle
#

Can you share more details on how I can fix this

restive swallow