#How can i run html to lustre converter locally?

1 messages · Page 1 of 1 (latest)

hidden sand
#

git clone
cd app
gleam run

sturdy comet
#

md, should have added more details. when i gleam run i get this error: Module does not have a main function

lone wolf
#

gleam run -m lustre/dev start

sturdy comet
#

damn, should have tough about that. but i still get an issue:
✅ Project compiled successfully
✅ Esbuild installed!
❌ Bundling with esbuild

I ran into an unexpected issue while trying to bundle your project with esbuild.
Here's the error message I got:

✘ [ERROR] No matching export in "build/dev/javascript/html_lustre_converter/html_lustre_converter.mjs" for import "main"

build/.lustre/entry.mjs:1:9:
  1 │ import { main } from "../dev/javascript/html_lustre_converter/html_...
    ╵          ~~~~

1 error

lone wolf
#

In the app directory?

sturdy comet
#

oh from the app directory.... mb

#

yea it works

sturdy comet
#

ok i think i am gonna open an issue, i suck too much to do it myself sorry

versed arch
#

You could also download the website to file and run that locally rather than build it from scratch

sturdy comet
#

ok nvm i am a dumbass, sorry for wasting everyone's time, but thanks for responding