Git Product home page Git Product logo

Comments (4)

leafo avatar leafo commented on June 14, 2024

Try running lapis build first

from luarocks-site.

dnelson avatar dnelson commented on June 14, 2024

That gave me an nginx.conf.compiled but now I get:

root@repo:/usr/local/moonrocks# lapis exec 'require"schema".make_schema()' --trace
Using temporary server...
Error: /usr/local/share/lua/5.1//lapis/cmd/nginx.lua:222: Timed out waiting for server to start
stack traceback:
    [C]: in function 'error'
    /usr/local/share/lua/5.1//lapis/cmd/nginx.lua:222: in function 'wait_until_ready'
    /usr/local/share/lua/5.1//lapis/cmd/nginx.lua:327: in function 'attach_server'
    /usr/local/share/lua/5.1//lapis/cmd/actions.lua:240: in function </usr/local/share/lua/5.1//lapis/cmd/actions.lua:225>
    (tail call): ?
    [C]: in function 'xpcall'
    /usr/local/share/lua/5.1//lapis/cmd/actions.lua:332: in function 'execute'
    /usr/local/lib/luarocks/rocks/lapis/dev-1/bin/lapis:4: in main chunk
    [C]: ?

I suppose this issue can be closed though, since my original error is fixed. That command should probably be added to the build instructions.

from luarocks-site.

leafo avatar leafo commented on June 14, 2024

ignoring making the schema for the moment, does running lapis server throw any errors?

from luarocks-site.

dnelson avatar dnelson commented on June 14, 2024

It did throw errors, basically I figured out that I had vanilla nginx installed first in my path and openresty afterward, which was preventing lapis from starting correctly. Thanks for the help.

from luarocks-site.

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.