When trying to run my web app i get "Something wen...
# javascript
n
When trying to run my web app i get "Something went wrong when displaying this page, Error SIGTRAP". Running
./gradlew run
gives no errors, and the devtools are disconnected. How do I go about debugging this? I have no feedback and absolutely no idea what is causing this, gradle is giving me thumbs up and successful tasks for build and run.
:web-app:browserDevelopmentRun > webpack 5.35.0 compiled successfully in 9236 ms
t
FYI - solution inside
n
@turansky Already have that fix in. I don't have any errors when running nor building, the webpack succeeds and the app is running in the browser before giving me SIGTRAP. Here's my gradle setup and the repo https://stackoverflow.com/questions/69173060/kotlinjs-web-succesfully-runs-page-doesnt-load-with-sigtrap-error I have no idea how to approach debugging this as I only removed IOS and Android from my KMP targets and kept the JS, which resulted in my app not working silently without any output
t
I see 2 problems: 1. 2 css configurations 2. Outdated webpack versions (latest)
n
@turansky The two configs were there even when it worked so that shouldn't be a problem (required for Tailwind), and I just updated to the latest webpack and still same issues. I even reverted most of the changes made between commits and still the same outcome.
@turansky this was causing the silent crash https://kotlinlang.slack.com/archives/C5ZTZ6ER0/p1631792931030000 , is this intended to work like this or should i submit a bug to the tracker?