Giter Club home page Giter Club logo

Comments (3)

guidev avatar guidev commented on June 12, 2024

I've noticed that the db was empty, I manually ran the init.sql and now the error goes away.

However, it's still not working:

curl http://localhost:8080
curl: (7) Failed to connect to localhost port 8080 after 0 ms: Connection refused
npm run dev

> [email protected] dev
> concurrently "npm run frontend:dev" "npm run backend:dev"

[0]
[0] > [email protected] frontend:dev
[0] > npm -w packages/frontend run dev
[0]
[1]
[1] > [email protected] backend:dev
[1] > npm -w packages/backend run dev
[1]
[0]
[0] > dev
[0] > next dev -p 8080
[0]
[1]
[1] > dev
[1] > tsx --env-file=.env --watch src/index.ts
[1]
[1] (node:7154) ExperimentalWarning: Watch mode is an experimental feature and might change at any time
[1] (Use `node --trace-warnings ...` to show where the warning was created)
[0]    ▲ Next.js 14.1.0
[0]    - Local:        http://localhost:8080
[0]
[0] `destination` does not start with `/`, `http://`, or `https://` for route {"source":"/api/v1/report","destination":"undefined/api/report"}
[0]
[0] `destination` does not start with `/`, `http://`, or `https://` for route {"source":"/api/report","destination":"undefined/api/report"}
[0]
[0] `destination` does not start with `/`, `http://`, or `https://` for route {"source":"/api/v1/template","destination":"undefined/api/v1/template"}
[0]
[0]
[0] Error: Invalid rewrites found
[0]
[0] npm run frontend:dev exited with code 0
[1] ✅ Lunary API server listening on port 3333
[1] ✅ Connected to database
[1] [JOB]: refreshing `model_name_cache`
[1] [JOB]: refreshing `tag_cache`

[1] [JOB]: refreshing `model_name_cache`
[1] [JOB]: refreshing `tag_cache`


from lunary.

guidev avatar guidev commented on June 12, 2024

any update?

from lunary.

hughcrt avatar hughcrt commented on June 12, 2024

Hi @guidev , I've updated the init.sql file. The instructions for running lunary locally are here: https://github.com/lunary-ai/lunary/blob/fe47af01f06cfbcfe9504699522c414c3c745036/CONTRIBUTING.md

Please let me know if you still get this issue

from lunary.

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.