livebook-dev / kino

Client-driven interactive widgets for Livebook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Application.ensure_all_started(:kino) required in Attached mode?

kipcole9 opened this issue · comments

Vix has added support for the Kino.Render protocol which is working well.

But I notice that when running in attached mode with Kino 0.7 (since there is no longer a mix standalone mode) that rendering will fail unless Application.ensure_all_started :kino is added to the notebook or :kino is added to :extra_applications in mix.exs.

If this is expected behaviour then I'll send a documentation PR.

Yes, you either need to start Kino in the notebook or have it started. But there is a replacement for Mix standalone that is not attached mode, which are the new options in Mix.install. Check the Elixir and Livebook notebook. :)