Static assets not being served in livebook escript based installation - windows

I am using livebook on windows. livebook --version

Erlang/OTP 27 [erts-15.1.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit:ns]
Elixir 1.18.2 (compiled with Erlang/OTP 27)
Livebook 0.15.4

Used the following instruction from GitHub - livebook-dev/livebook: Automate code & data workflows with interactive Elixir notebooks to install using mix

mix do local.rebar --force, local.hex --force
mix escript.install hex livebook

# Start the Livebook server
livebook server

# See all the configuration options
livebook server --help

While starting I initially faced unable to create… Local\Temp\livebook\0.15.4\escript.extracted. I created the directory hierarchy and the server starts up. However static assets ends up with 404. What am I missing?

I was able to get it running if I clone and build git repository. However still curious why escript based installation doesn’t work as expected.

Thank you/

Hey @gitkinder, I believe it is this issue Windows installation issue · Issue #2964 · livebook-dev/livebook · GitHub. It has been fixed on main, so you can try installing escript directly from GitHub:

mix escript.install github livebook-dev/livebook
1 Like

Yes able to get it working by installing from dev with the following command.
Thank you @jonatanklosk

mix escript.install github livebook-dev/livebook
1 Like