Code Monkey home page Code Monkey logo

Comments (6)

colinrtwhite avatar colinrtwhite commented on June 6, 2024

This seems like it might be a Compose error unrelated to Coil as Coil isn't mentioned in the error. Are you able to reproduce error only importing Compose Multiplatform?

The error might be related to local configuration. I'm able to run ./gradlew samples:compose:jsRun to run the JS sample in this repository.

from coil.

N7ghtm4r3 avatar N7ghtm4r3 commented on June 6, 2024

The error occurred only when the dependencies I said in the previous comment are imported, without these the composition goes well and the content of the page is not blank, I don't understand the usages of the comment you said ./gradlew samples:compose:jsRun I need to run and share to you the result or is the proof that for you works correctly?

from coil.

colinrtwhite avatar colinrtwhite commented on June 6, 2024

To Reproduce: In a Kotlin/Js project using the AsyncImage api and the error occurs ispecting the webpage in the Console tab will be printed the error

I'm not able to reproduce the exception using the sample JS app in this repo which imports AsyncImage. Do you have a sample that reproduces the issue?

from coil.

N7ghtm4r3 avatar N7ghtm4r3 commented on June 6, 2024

Yes, I share with you the demo project where I am trying to implement the Coil library, it works based on the Kobweb library, so I think you should install if the project has not the gradle tasks required.
You can download the demo project from WeTransfer at the email you have in your profile of GitHub, this because I cannot attach here due its size

from coil.

colinrtwhite avatar colinrtwhite commented on June 6, 2024

Kobweb is based on Compose HTML, but Coil uses Compose Multiplatform. It's likely that you need to set up your project for Compose Multiplatform similar to here.

from coil.

N7ghtm4r3 avatar N7ghtm4r3 commented on June 6, 2024

Yes I'm sorry I totally forgot this requirement about Compose HTML is not Compose Multiplatform, thanks for the help

from coil.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.