Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[string "bundle:main.lua"]:1: module 'weblit' not found: #277

Open
justboereh opened this issue May 21, 2023 · 1 comment
Open

[string "bundle:main.lua"]:1: module 'weblit' not found: #277

justboereh opened this issue May 21, 2023 · 1 comment

Comments

@justboereh
Copy link

I have a simple app using weblit

-- main.lua
local weblit = require('weblit')

local app = weblit.app.bind({ port = 3000 })

app.use(weblit.autoHeaders)

app.route({ path = "/" }, function(req, res)
  res.body = "lol"
end)

app.start()

after bundling it with luvi ./ -o code.exe and I run it, I get the error.

@RainyXeon
Copy link

@justboereh You can try to install luvit/luvit package

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants