error when using CssStyles Blocks #650
-
when using
show error in console : NoSuchElementException {message: 'Key [object Object] is missing in the map.', cause: undefined, name: 'NoSuchElementException', stack: 'NoSuchElementException: Key [object Object] is mis…latform-core-compose-runtime-runtime.js:35290:92)'}cause: undefinedmessage: "Key [object Object] is missing in the map."name: "NoSuchElementException"stack: "NoSuchElementException: Key [object Object] is missing in the map.\n at getOrImplicitDefault (webpack-internal:///./kotlin/kotlin-kotlin-stdlib.js:16649:15)\n at getValue (webpack-internal:///./kotlin/kotlin-kotlin-stdlib.js:16716:12)\n at _toModifier (webpack-internal:///./kotlin/kobweb-frontend-silk-foundation.js:1817:16)\n at toModifier (webpack-internal:///./kotlin/kobweb-frontend-silk-foundation.js:1560:16)\n at AdminHome (webpack-internal:///./kotlin/kobweb.js:779:19)\n at ComposableSingletons$MainKt$lambda_2$lambda_dts8wk (webpack-internal:///./kotlin/kobweb.js:151:7)\n at protoOf.invoke_z8di7s_k$ (webpack-internal:///./kotlin/compose-multiplatform-core-compose-runtime-runtime.js:35290:92)\n at eval (webpack-internal:///./kotlin/kobweb.js:145:25)\n at eval (webpack-internal:///./kotlin/kobweb-frontend-kobweb-core.js:1370:15)\n at protoOf.invoke_z8di7s_k$ (webpack-internal:///./kotlin/compose-multiplatform-core-compose-runtime-runtime.js:35290:92)"[[Prototype]]: RuntimeException in file Recomposer.kt:792 => Could not load content for webpack://site/mnt/agent/work/22b92203f00747e0/compose/runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime/Recomposer.kt?ac6c (Fetch through target failed: Unsupported URL scheme; Fallback: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hmmm, are you declaring that style in your site module or a library module? You can search in your project for a generated |
Beta Was this translation helpful? Give feedback.
Hmmm, are you declaring that style in your site module or a library module?
You can search in your project for a generated
main.kt
file to see which styles are being found. My guess is your style is being defined in a library module?