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
@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
turansky
09/14/2021, 10:57 PM
I see 2 problems:
1. 2 css configurations
2. Outdated webpack versions (latest)
n
Nikola Milovic
09/15/2021, 6:37 AM
@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.