VistaPrevia
Your component is published, but its preview could not be generated.
…
26-09-14T07:15:21.3201779Z (node:2114) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2026-09-14T07:15:21.3203472Z (Use `node --trace-deprecation ...` to show where the warning was created)
2026-09-14T07:15:21.3205651Z ##[group]Environment details
2026-09-14T07:15:22.4263003Z node: v22.23.2
2026-09-14T07:15:22.4279014Z npm: 10.9.8
2026-09-14T07:15:22.4283727Z yarn: 1.22.22
2026-09-14T07:15:22.4287588Z ##[endgroup]
2026-09-14T07:15:22.4369188Z [command]/opt/hostedtoolcache/node/22.23.2/x64/bin/npm config get cache
2026-09-14T07:15:23.6674815Z /home/runner/.npm
2026-09-14T07:15:23.7824711Z Cache hit for: node-cache-Linux-x64-npm-e31c9ef1c061c6242073141b23d8a686704041759769a098372f9ee413b05096
2026-09-14T07:15:23.7943292Z (node:2114) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
2026-09-14T07:15:24.9002366Z Received 117440512 of 139411912 (84.2%), 111.7 MBs/sec
2026-09-14T07:15:25.0657982Z Received 139411912 of 139411912 (100.0%), 113.3 MBs/sec
2026-09-14T07:15:25.0659256Z Cache Size: ~133 MB (139411912 B)
2026-09-14T07:15:25.0702326Z [command]/usr/bin/tar -xf /home/runner/work/_temp/b38f7d66-34a1-4099-ab3e-9a35d22935f7/cache.tzst -P -C /home/runner/work/composables.com/composables.com --use-compress-program unzstd
2026-09-14T07:15:25.8979028Z Cache restored successfully
2026-09-14T07:15:26.6059377Z Cache restored from key: node-cache-Linux-x64-npm-e31c9ef1c061c6242073141b23d8a686704041759769a098372f9ee413b05096
2026-09-14T07:15:26.6287077Z ##[group]Run npm ci --prefix preview-builder
2026-09-14T07:15:26.6287571Z [36;1mnpm ci --prefix preview-builder[0m
2026-09-14T07:15:26.7665547Z shell: /usr/bin/bash -e {0}
2026-09-14T07:15:26.7665882Z env:
2026-09-14T07:15:26.7666155Z APP_TMP_DIR: /tmp/composables-preview
2026-09-14T07:15:26.7666792Z GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx4g
2026-09-14T07:15:26.7667149Z R2_BUCKET: composables-static
2026-09-14T07:15:26.7667479Z R2_PREFIX: community/review-previews
2026-09-14T07:15:26.7667921Z JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.12-1/x64
2026-09-14T07:15:26.7668495Z JAVA_HOME_21_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.12-1/x64
2026-09-14T07:15:26.7668984Z GRADLE_ACTION_ID: gradle/actions/setup-gradle
2026-09-14T07:15:26.7669348Z GRADLE_USER_HOME: /home/runner/.gradle
2026-09-14T07:15:26.7669701Z GRADLE_BUILD_ACTION_SETUP_COMPLETED: true
2026-09-14T07:15:26.7670055Z GRADLE_BUILD_ACTION_CACHE_RESTORED: true
2026-09-14T07:15:26.7670609Z DEVELOCITY_INJECTION_INIT_SCRIPT_NAME: gradle-actions.inject-develocity.init.gradle
2026-09-14T07:15:26.7671361Z DEVELOCITY_INJECTION_CUSTOM_VALUE: gradle-actions
2026-09-14T07:15:26.7671735Z GITHUB_DEPENDENCY_GRAPH_ENABLED: false
2026-09-14T07:15:26.7672067Z ##[endgroup]
2026-09-14T07:15:27.7142228Z
2026-09-14T07:15:27.7160791Z added 1 package, and audited 2 packages in 883ms
2026-09-14T07:15:27.7164961Z
2026-09-14T07:15:27.7165599Z found 0 vulnerabilities
2026-09-14T07:15:27.7581656Z ##[group]Run mkdir -p "$APP_TMP_DIR/input" "$APP_TMP_DIR/output"
2026-09-14T07:15:27.7582272Z [36;1mmkdir -p "$APP_TMP_DIR/input" "$APP_TMP_DIR/output"[0m
2026-09-14T07:15:27.7582851Z [36;1mprintf '%s' "$SOURCE_BASE64" | base64 --decode > "$APP_TMP_DIR/input/component.kt"[0m
2026-09-14T07:15:27.7583546Z [36;1mphp scripts/prepare-review-preview-source.php "$APP_TMP_DIR/input/component.kt"[0m
2026-09-14T07:15:27.7584320Z [36;1mprintf '%s' "$DEPENDENCIES_BASE64" | base64 --decode > "$APP_TMP_DIR/create-preview/SubmittedDependencies.txt"[0m
2026-09-14T07:15:27.7620869Z shell: /usr/bin/bash -e {0}
2026-09-14T07:15:27.7621505Z env:
2026-09-14T07:15:27.7621781Z APP_TMP_DIR: /tmp/composables-preview
2026-09-14T07:15:27.7622155Z GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx4g
2026-09-14T07:15:27.7622535Z R2_BUCKET: composables-static
2026-09-14T07:15:27.7622867Z R2_PREFIX: community/review-previews
2026-09-14T07:15:27.7623351Z JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.12-1/x64
2026-09-14T07:15:27.7623940Z JAVA_HOME_21_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.12-1/x64
2026-09-14T07:15:27.7624452Z GRADLE_ACTION_ID: gradle/actions/setup-gradle
2026-09-14T07:15:27.7624822Z GRADLE_USER_HOME: /home/runner/.gradle
2026-09-14T07:15:27.7625177Z GRADLE_BUILD_ACTION_SETUP_COMPLETED: true
2026-09-14T07:15:27.7625533Z GRADLE_BUILD_ACTION_CACHE_RESTORED: true
2026-09-14T07:15:27.7626038Z DEVELOCITY_INJECTION_INIT_SCRIPT_NAME: gradle-actions.inject-develocity.init.gradle
2026-09-14T07:15:27.7626580Z DEVELOCITY_INJECTION_CUSTOM_VALUE: gradle-actions
2026-09-14T07:15:27.7626954Z GITHUB_DEPENDENCY_GRAPH_ENABLED: false
2026-09-14T07:15:27.7668326Z SOURCE_BASE64: cGFja2FnZSBjb20uZXhhbXBsZS5taWFwcAoKaW1wb3J0IGFuZHJvaWQub3MuQnVuZGxlCmltcG9ydCBhbmRyb2lkeC5hY3Rpdml0eS5Db21wb25lbnRBY3Rpdml0eQppbXBvcnQgYW5kcm9pZHguYWN0aXZpdHkuY29tcG9zZS5zZXRDb250ZW50CmltcG9ydCBhbmRyb2lkeC5jb21wb3NlLmZvdW5kYXRpb24ubGF5b3V0LioKaW1wb3J0IGFuZHJvaWR4LmNvbXBvc2UubWF0ZXJpYWwzLioKaW1wb3J0IGFuZHJvaWR4LmNvbXBvc2UucnVudGltZS5Db21wb3NhYmxlCmltcG9ydCBhbmRyb2lkeC5jb21wb3NlLnVpLkFsaWdubWVudAppbXBvcnQgYW5kcm9pZHguY29tcG9zZS51aS5Nb2RpZmllcgppbXBvcnQgYW5kcm9pZHguY29tcG9zZS51aS50b29saW5nLnByZXZpZXcuUHJldmlldwppbXBvcnQgYW5kcm9pZHguY29tcG9zZS51aS51bml0LmRwCgpjbGFzcyBNYWluQWN0aXZpdHkgOiBDb21wb25lbnRBY3Rpdml0eSgpIHsKICAgIG92ZXJyaWRlIGZ1biBvbkNyZWF0ZShzYXZlZEluc3RhbmNlU3RhdGU6IEJ1bmRsZT8pIHsKICAgICAgICBzdXBlci5vbkNyZWF0ZShzYXZlZEluc3RhbmNlU3RhdGUpCiAgICAgICAgCiAgICAgICAgc2V0Q29udGVudCB7CiAgICAgICAgICAgIE1hdGVyaWFsVGhlbWUgeyAKICAgICAgICAgICAgICAgIENvbnRlbmVkb3JEZUluaWNpbygpCiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICB9Cn0KCkBDb21wb3NhYmxlCmZ1biBDb250ZW5lZG9yRGVJbmljaW8oKSB7CiAgICBDb2x1bW4oCiAgICAgICAgbW9kaWZpZXIgPSBNb2RpZmllcgogICAgICAgICAgICAuZmlsbE1heFNpemUoKQogICAgICAgICAgICAucGFkZGluZygxNi5kcCksCiAgICAgICAgaG9yaXpvbnRhbEFsaWdubWVudCA9IEFsaWdubWVudC5DZW50ZXJIb3Jpem9udGFsbHksCiAgICAgICAgdmVydGljYWxBcnJhbmdlbWVudCA9IEFycmFuZ2VtZW50LkNlbnRlcgogICAgKSB7CiAgICAgICAgVGV4dCgKICAgICAgICAgICAgdGV4dCA9ICJCaWVudmVuaWRvIGFsIFNpc3RlbWEiLAogICAgICAgICAgICBzdHlsZSA9IE1hdGVyaWFsVGhlbWUudHlwb2dyYXBoeS5oZWFkbGluZU1lZGl1bQogICAgICAgICkKCiAgICAgICAgU3BhY2VyKG1vZGlmaWVyID0gTW9kaWZpZXIuaGVpZ2h0KDI0LmRwKSkgCgogICAgICAgIEJ1dHRvbihvbkNsaWNrID0geyAKICAgICAgICB9KSB7CiAgICAgICAgICAgIFRleHQodGV4dCA9ICJJbmdyZXNhciBhIGxhIFBsYXRhZm9ybWEiKQogICAgICAgIH0KICAgIH0KfQoKQFByZXZpZXcoc2hvd0JhY2tncm91bmQgPSB0cnVlKQpAQ29tcG9zYWJsZQpmdW4gVmlzdGFQcmV2aWEoKSB7CiAgICBNYXRlcmlhbFRoZW1lIHsKICAgICAgICBDb250ZW5lZG9yRGVJbmljaW8oKQogICAgfQp9
2026-09-14T07:15:27.7703162Z DEPENDENCIES_BASE64: b3JnLmpldGJyYWlucy5jb21wb3NlLmZvdW5kYXRpb246Zm91bmRhdGlvbjoxLjEyLjA=
2026-09-14T07:15:27.7703723Z ##[endgroup]
2026-09-14T07:15:27.8513081Z {"entryPoint":"VistaPrevia","title":"VistaPrevia"}
2026-09-14T07:15:27.8639201Z ##[group]Run ./gradlew -p preview-builder :create-preview:wasmJsBrowserDevelopmentExecutableDistribution --console=plain --warning-mode=none -Pkotlin.js.yarn.lock.mismatch.report=warning
2026-09-14T07:15:27.8640773Z [36;1m./gradlew -p preview-builder :create-preview:wasmJsBrowserDevelopmentExecutableDistribution --console=plain --warning-mode=none -Pkotlin.js.yarn.lock.mismatch.report=warning[0m
2026-09-14T07:15:27.8677668Z shell: /usr/bin/bash -e {0}
2026-09-14T07:15:27.8677982Z env:
2026-09-14T07:15:27.8678250Z APP_TMP_DIR: /tmp/composables-preview
2026-09-14T07:15:27.8678628Z GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx4g
2026-09-14T07:15:27.8678978Z R2_BUCKET: composables-static
2026-09-14T07:15:27.8679303Z R2_PREFIX: community/review-previews
2026-09-14T07:15:27.8679763Z JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.12-1/x64
2026-09-14T07:15:27.8680335Z JAVA_HOME_21_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.12-1/x64
2026-09-14T07:15:27.8680846Z GRADLE_ACTION_ID: gradle/actions/setup-gradle
2026-09-14T07:15:27.8681500Z GRADLE_USER_HOME: /home/runner/.gradle
2026-09-14T07:15:27.8681882Z GRADLE_BUILD_ACTION_SETUP_COMPLETED: true
2026-09-14T07:15:27.8682245Z GRADLE_BUILD_ACTION_CACHE_RESTORED: true
2026-09-14T07:15:27.8682758Z DEVELOCITY_INJECTION_INIT_SCRIPT_NAME: gradle-actions.inject-develocity.init.gradle
2026-09-14T07:15:27.8683307Z DEVELOCITY_INJECTION_CUSTOM_VALUE: gradle-actions
2026-09-14T07:15:27.8683683Z GITHUB_DEPENDENCY_GRAPH_ENABLED: false
2026-09-14T07:15:27.8684009Z ##[endgroup]
2026-09-14T07:15:29.5904667Z Starting a Gradle Daemon (subsequent builds will be faster)
2026-09-14T07:15:41.9912233Z > Task :kotlinWasmKotlinNpmCachesSetup
2026-09-14T07:15:45.8897708Z > Task :kotlinWasmNodeJsSetup
2026-09-14T07:15:45.9892806Z > Task :kotlinWasmRestoreYarnLock
2026-09-14T07:15:45.9911844Z > Task :kotlinWasmYarnSetup
2026-09-14T07:15:47.2896476Z > Task :preview-host:wasmJsPackageJson
2026-09-14T07:15:47.2911954Z > Task :create-preview:wasmJsPackageJson
2026-09-14T07:15:47.2926317Z > Task :create-preview:wasmJsTestPackageJson
2026-09-14T07:15:47.2947021Z > Task :preview-host:wasmJsTestPackageJson
2026-09-14T07:15:47.2957498Z > Task :create-preview:wasmJsPublicPackageJson
2026-09-14T07:15:47.2958674Z > Task :create-preview:wasmJsTestPublicPackageJson
2026-09-14T07:15:47.2972687Z > Task :preview-host:wasmJsPublicPackageJson
2026-09-14T07:15:47.2973885Z > Task :preview-host:wasmJsTestPublicPackageJson
2026-09-14T07:15:47.3011828Z > Task :kotlinWasmPackageJsonUmbrella
2026-09-14T07:15:47.3877246Z > Task :wasmRootPackageJson
2026-09-14T07:15:48.1075777Z (node:2300) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
2026-09-14T07:15:48.1077334Z
2026-09-14T07:15:48.1078192Z > Task :kotlinWasmNpmInstall
2026-09-14T07:15:48.1204160Z (Use `node --trace-deprecation ...` to show where the warning was created)
2026-09-14T07:15:48.1204805Z
2026-09-14T07:15:48.1205869Z warning Ignored scripts due to flag.
2026-09-14T07:15:48.1206540Z > Task :kotlinWasmStoreYarnLock
2026-09-14T07:15:48.1208167Z Lock file was changed. Run the `kotlinWasmUpgradeYarnLock` task to actualize lock file
2026-09-14T07:15:50.0874398Z
2026-09-14T07:15:50.0875516Z > Task :kotlinWasmToolingSetup
2026-09-14T07:15:50.0882939Z (node:2315) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
2026-09-14T07:15:50.0884765Z (Use `node --trace-deprecation ...` to show where the warning was created)
2026-09-14T07:16:09.2881836Z warning "webpack-dev-server > webpack-dev-middleware > [email protected]" has unmet peer dependency "tslib@2".
2026-09-14T07:16:12.5887338Z warning Ignored scripts due to flag.
2026-09-14T07:16:14.7878689Z
2026-09-14T07:16:14.7922810Z > Task :create-preview:kmpPartiallyResolvedDependenciesChecker
2026-09-14T07:16:14.7957023Z > Task :create-preview:checkKotlinGradlePluginConfigurationErrors SKIPPED
2026-09-14T07:16:14.8885417Z > Task :create-preview:checkWasmJsMainComposeLibrariesCompatibility
2026-09-14T07:16:14.8942430Z > Task :create-preview:convertXmlValueResourcesForCommonMain NO-SOURCE
2026-09-14T07:16:14.8962331Z > Task :create-preview:copyNonXmlValueResourcesForCommonMain NO-SOURCE
2026-09-14T07:16:14.8989278Z > Task :create-preview:prepareComposeResourcesTaskForCommonMain NO-SOURCE
2026-09-14T07:16:14.8990878Z > Task :create-preview:generateResourceAccessorsForCommonMain SKIPPED
2026-09-14T07:16:14.8992346Z > Task :create-preview:convertXmlValueResourcesForWasmJsMain NO-SOURCE
2026-09-14T07:16:14.8993543Z > Task :create-preview:copyNonXmlValueResourcesForWasmJsMain NO-SOURCE
2026-09-14T07:16:14.8994879Z > Task :create-preview:prepareComposeResourcesTaskForWasmJsMain NO-SOURCE
2026-09-14T07:16:14.8996224Z > Task :create-preview:generateResourceAccessorsForWasmJsMain SKIPPED
2026-09-14T07:16:14.8997457Z > Task :create-preview:convertXmlValueResourcesForWebMain NO-SOURCE
2026-09-14T07:16:14.8998741Z > Task :create-preview:copyNonXmlValueResourcesForWebMain NO-SOURCE
2026-09-14T07:16:14.8999966Z > Task :create-preview:prepareComposeResourcesTaskForWebMain NO-SOURCE
2026-09-14T07:16:14.9001410Z > Task :create-preview:generateResourceAccessorsForWebMain SKIPPED
2026-09-14T07:16:14.9002731Z > Task :create-preview:generateActualResourceCollectorsForWasmJsMain SKIPPED
2026-09-14T07:16:14.9004143Z > Task :create-preview:generateComposeResClass SKIPPED
2026-09-14T07:16:14.9005292Z > Task :create-preview:generateExpectResourceCollectorsForCommonMain SKIPPED
2026-09-14T07:16:14.9006495Z > Task :preview-host:kmpPartiallyResolvedDependenciesChecker
2026-09-14T07:16:14.9007716Z > Task :preview-host:checkKotlinGradlePluginConfigurationErrors SKIPPED
2026-09-14T07:16:14.9932473Z > Task :preview-host:checkWasmJsMainComposeLibrariesCompatibility
2026-09-14T07:16:14.9933805Z > Task :preview-host:convertXmlValueResourcesForCommonMain NO-SOURCE
2026-09-14T07:16:14.9935038Z > Task :preview-host:copyNonXmlValueResourcesForCommonMain NO-SOURCE
2026-09-14T07:16:14.9936282Z > Task :preview-host:prepareComposeResourcesTaskForCommonMain NO-SOURCE
2026-09-14T07:16:14.9937508Z > Task :preview-host:generateResourceAccessorsForCommonMain SKIPPED
2026-09-14T07:16:14.9938788Z > Task :preview-host:convertXmlValueResourcesForWasmJsMain NO-SOURCE
2026-09-14T07:16:14.9961954Z > Task :preview-host:copyNonXmlValueResourcesForWasmJsMain NO-SOURCE
2026-09-14T07:16:15.0002069Z > Task :preview-host:prepareComposeResourcesTaskForWasmJsMain NO-SOURCE
2026-09-14T07:16:15.0042182Z > Task :preview-host:generateResourceAccessorsForWasmJsMain SKIPPED
2026-09-14T07:16:15.0062020Z > Task :preview-host:convertXmlValueResourcesForWebMain NO-SOURCE
2026-09-14T07:16:15.0102027Z > Task :preview-host:copyNonXmlValueResourcesForWebMain NO-SOURCE
2026-09-14T07:16:15.0142044Z > Task :preview-host:prepareComposeResourcesTaskForWebMain NO-SOURCE
2026-09-14T07:16:15.0161987Z > Task :preview-host:generateResourceAccessorsForWebMain SKIPPED
2026-09-14T07:16:15.0178283Z > Task :preview-host:generateActualResourceCollectorsForWasmJsMain SKIPPED
2026-09-14T07:16:15.0218337Z > Task :preview-host:generateComposeResClass SKIPPED
2026-09-14T07:16:15.0236294Z > Task :preview-host:generateExpectResourceCollectorsForCommonMain SKIPPED
2026-09-14T07:16:15.6888816Z > Task :preview-host:assembleWasmJsMainResources
2026-09-14T07:16:15.6893713Z > Task :preview-host:wasmJsCopyHierarchicalMultiplatformResources
2026-09-14T07:16:15.6895328Z > Task :preview-host:wasmJsZipMultiplatformResourcesForPublication
2026-09-14T07:16:15.7892635Z > Task :create-preview:wasmJsResolveResourcesFromDependencies
2026-09-14T07:16:15.7896615Z > Task :create-preview:assembleWasmJsMainResources
2026-09-14T07:16:15.7942382Z > Task :create-preview:wasmJsResolveSelfResourcesCopyHierarchicalMultiplatformResources
2026-09-14T07:16:15.7972066Z > Task :create-preview:wasmJsAggregateResources
2026-09-14T07:16:15.7973278Z > Task :create-preview:wasmJsProcessResources
2026-09-14T07:16:15.8893321Z > Task :create-preview:unpackSkikoWasmRuntime
2026-09-14T07:16:15.9874319Z > Task :create-preview:processSkikoRuntimeForKWasm
2026-09-14T07:16:21.7889781Z > Task :preview-host:compileKotlinWasmJs
2026-09-14T07:16:22.8903081Z e: file:///tmp/composables-preview/create-preview/SubmittedPreview.kt:3:8 Unresolved reference 'android'.
2026-09-14T07:16:22.8904001Z
2026-09-14T07:16:22.8905351Z e: file:///tmp/composables-preview/create-preview/SubmittedPreview.kt:4:17 Unresolved reference 'activity'.
2026-09-14T07:16:22.8922024Z > Task :create-preview:compileKotlinWasmJs FAILED
2026-09-14T07:16:22.8942835Z e: file:///tmp/composables-preview/create-preview/SubmittedPreview.kt:5:17 Unresolved reference 'activity'.
2026-09-14T07:16:22.8982861Z e: file:///tmp/composables-preview/create-preview/SubmittedPreview.kt:7:25 Unresolved reference 'material3'.
2026-09-14T07:16:22.9002631Z e: file:///tmp/composables-preview/create-preview/SubmittedPreview.kt:13:22 Unresolved reference 'ComponentActivity'.
2026-09-14T07:16:22.9022557Z e: file:///tmp/composables-preview/create-preview/SubmittedPreview.kt:14:47 Unresolved reference 'Bundle'.
2026-09-14T07:16:22.9062693Z e: file:///tmp/composables-preview/create-preview/SubmittedPreview.kt:15:9 Unresolved reference 'ComponentActivity'.
2026-09-14T07:16:22.9092454Z e: file:///tmp/composables-preview/create-preview/SubmittedPreview.kt:15:15 Unresolved reference 'onCreate'.
2026-09-14T07:16:22.9112429Z e: file:///tmp/composables-preview/create-preview/SubmittedPreview.kt:17:9 Unresolved reference 'setContent'.
2026-09-14T07:16:22.9114716Z e: file:///tmp/composables-preview/create-preview/SubmittedPreview.kt:18:13 Unresolved reference 'MaterialTheme'.
2026-09-14T07:16:22.9132921Z e: file:///tmp/composables-preview/create-preview/SubmittedPreview.kt:19:17 @Composable invocations can only happen from the context of a @Composable function
2026-09-14T07:16:22.9152563Z e: file:///tmp/composables-preview/create-preview/SubmittedPreview.kt:34:9 Unresolved reference 'Text'.
2026-09-14T07:16:22.9172632Z e: file:///tmp/composables-preview/create-preview/SubmittedPreview.kt:36:21 Unresolved reference 'MaterialTheme'.
2026-09-14T07:16:22.9184880Z e: file:///tmp/composables-preview/create-preview/SubmittedPreview.kt:41:9 Unresolved reference 'Button'.
2026-09-14T07:16:22.9202853Z e: file:///tmp/composables-preview/create-preview/SubmittedPreview.kt:43:13 Unresolved reference 'Text'.
2026-09-14T07:16:22.9212620Z e: file:///tmp/composables-preview/create-preview/SubmittedPreview.kt:50:5 Unresolved reference 'MaterialTheme'.
2026-09-14T07:16:22.9233060Z e: file:///tmp/composables-preview/create-preview/SubmittedPreview.kt:51:9 @Composable invocations can only happen from the context of a @Composable function
2026-09-14T07:16:22.9890415Z
2026-09-14T07:16:22.9892172Z gradle/actions: Writing build results to /home/runner/work/_temp/.gradle-actions/build-results/__run_3-1789370134625.json
2026-09-14T07:16:22.9894155Z FAILURE: Build failed with an exception.
2026-09-14T07:16:22.9911637Z
2026-09-14T07:16:22.9912045Z 32 actionable tasks: 32 executed
2026-09-14T07:16:22.9931843Z * What went wrong:
2026-09-14T07:16:22.9942272Z Execution failed for task ':create-preview:compileKotlinWasmJs'.
2026-09-14T07:16:22.9972967Z > A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
2026-09-14T07:16:22.9974800Z > Compilation error. See log for more details
2026-09-14T07:16:22.9990965Z
2026-09-14T07:16:23.0011815Z * Try:
2026-09-14T07:16:23.0213118Z > Run with --stacktrace option to get the stack trace.
2026-09-14T07:16:23.0232103Z > Run with --info or --debug option to get more log output.
2026-09-14T07:16:23.0421863Z > Run with --scan to get full insights from a Build Scan (powered by Develocity).
2026-09-14T07:16:23.0431869Z > Get more help at https://help.gradle.org.
2026-09-14T07:16:23.0451951Z
2026-09-14T07:16:23.0452933Z BUILD FAILED in 55s
2026-09-14T07:16:23.4985764Z ##[error]Process completed with exit code 1.
2026-09-14T07:16:23.5168432Z Node 20 is being deprecated. This workflow is running with Node 24 by default. If you need to temporarily use Node 20, you can set the ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true environment variable. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
2026-09-14T07:16:23.5169801Z Post job cleanup.
2026-09-14T07:16:23.8212442Z In post-action step
2026-09-14T07:16:23.8232141Z ##[group]Stopping Gradle daemons
2026-09-14T07:16:23.8290349Z Stopping Gradle daemons for /home/runner/.gradle/wrapper/dists/gradle-9.4.1-bin/arn2x92ynaizyzdaamcbpbhtj/gradle-9.4.1
2026-09-14T07:16:23.8293234Z [command]/home/runner/.gradle/wrapper/dists/gradle-9.4.1-bin/arn2x92ynaizyzdaamcbpbhtj/gradle-9.4.1/bin/gradle --stop
2026-09-14T07:16:24.7379089Z Stopping Daemon(s)
2026-09-14T07:16:24.7564193Z 1 Daemon stopped
2026-09-14T07:16:24.7749839Z ##[endgroup]
2026-09-14T07:16:24.7783922Z Not performing cache-cleanup due to build failure
2026-09-14T07:16:24.7785346Z ##[group]Caching Gradle state
2026-09-14T07:16:24.7787359Z Cache hit occurred on the cache key gradle-home-v1|Linux-X64|build[cab32b19fda66fe0c63fec65878a8d0b]-0723efe1de4eb44bc5b89dddffe1a76a1f0769f5, not saving cache.
2026-09-14T07:16:24.7789356Z ##[endgroup]
2026-09-14T07:16:24.7790193Z Generating Job Summary
2026-09-14T07:16:24.7791393Z Completed post-action step
2026-09-14T07:16:24.8319487Z Node 20 is being deprecated. This workflow is running with Node 24 by default. If you need to temporarily use Node 20, you can set the ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true environment variable. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
2026-09-14T07:16:24.8320851Z Post job cleanup.
2026-09-14T07:16:24.9786550Z (node:2423) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2026-09-14T07:16:24.9788572Z (Use `node --trace-deprecation ...` to show where the warning was created)
2026-09-14T07:16:25.0037985Z Node 20 is being deprecated. This workflow is running with Node 24 by default. If you need to temporarily use Node 20, you can set the ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true environment variable. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
2026-09-14T07:16:25.0040721Z Post job cleanup.
2026-09-14T07:16:25.1897136Z [command]/usr/bin/git version
2026-09-14T07:16:25.2012635Z git version 2.55.0
2026-09-14T07:16:25.2092883Z Temporarily overriding HOME='/home/runner/work/_temp/8bbe0ce0-01f2-44bb-ab27-b7f1f89c46e8' before making global git config changes
2026-09-14T07:16:25.2094748Z Adding repository directory to the temporary git global config as a safe directory
2026-09-14T07:16:25.2096567Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/composables.com/composables.com
2026-09-14T07:16:25.2168857Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2026-09-14T07:16:25.2245372Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2026-09-14T07:16:25.2609504Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2026-09-14T07:16:25.2647327Z http.https://github.com/.extraheader
2026-09-14T07:16:25.2675250Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2026-09-14T07:16:25.2725997Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2026-09-14T07:16:25.3142242Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
2026-09-14T07:16:25.3192970Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
2026-09-14T07:16:25.3782582Z Cleaning up orphan processes
2026-09-14T07:16:25.4175102Z Terminate orphan process: pid (2333) (java)
2026-09-14T07:16:25.4190785Z ##[warning]Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-java@v4, actions/setup-node@v4, gradle/actions/setup-gradle@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/package com.example.miapp
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.*
import androidx.compose.material3.*
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
MaterialTheme {
ContenedorDeInicio()
}
}
}
}
@Composable
fun ContenedorDeInicio() {
Column(
modifier = Modifier
.fillMaxSize()
.padding(16.dp),
horizontalAlignment = Alignment.CenterHorizontally,
verticalArrangement = Arrangement.Center
) {
Text(
text = "Bienvenido al Sistema",
style = MaterialTheme.typography.headlineMedium
)
Spacer(modifier = Modifier.height(24.dp))
Button(onClick = {
}) {
Text(text = "Ingresar a la Plataforma")
}
}
}
@Preview(showBackground = true)
@Composable
fun VistaPrevia() {
MaterialTheme {
ContenedorDeInicio()
}
}
build.gradle.kts
dependencies {
implementation("org.jetbrains.compose.foundation:foundation:1.12.0")
}