Code Monkey home page Code Monkey logo

Comments (14)

vasilevich avatar vasilevich commented on July 19, 2024

Getting the same, I think you guys should properly test your docker before going up on reddit.

from chat-with-gpt.

eaasyIce avatar eaasyIce commented on July 19, 2024

Changing src/database/sqlite.ts line 80 variable row to row: any to explicitly narrow it down seems to solve this. but another ts issue would come up after

from chat-with-gpt.

raflisboa avatar raflisboa commented on July 19, 2024

Same error here.

from chat-with-gpt.

icemunk avatar icemunk commented on July 19, 2024

Same error

from chat-with-gpt.

icemunk avatar icemunk commented on July 19, 2024

Ok, I think I figured it out on my end here - so, line 86 in the sqlite.ts file that mentions the error. Change the line "...row" to "row:row" - to ensure it is a declared object type. It fixed this error on my end.

from chat-with-gpt.

cogentapps avatar cogentapps commented on July 19, 2024

Fixed:

git pull
docker-compose up —build

to rebuild your docker containers.

I’ve added a Github Action job to catch errors like this in the future.

from chat-with-gpt.

micallb avatar micallb commented on July 19, 2024

@cogentapps, getting the same error with both @icemunk's and your solutions.

from chat-with-gpt.

cogentapps avatar cogentapps commented on July 19, 2024

Can you try a fresh git clone in a new folder?

I think the old code is getting cached somewhere, because it works on a fresh install in GA.

from chat-with-gpt.

micallb avatar micallb commented on July 19, 2024

Sorry, should have specified at the time of my last post that I had tried that already. Just tried it again to double-check and receiving the same error.

from chat-with-gpt.

cogentapps avatar cogentapps commented on July 19, 2024

OK, I’ll try to reproduce the issue and figure out what’s going on.

Are you running this on a Mac?

from chat-with-gpt.

micallb avatar micallb commented on July 19, 2024

Appreciate it! Yes, an M1 with Ventura 13.0.1

from chat-with-gpt.

gorfreed avatar gorfreed commented on July 19, 2024

I am having the same issue and I am trying to deploy it on a Ubuntu 20.04 server. I tried with a fresh Git clone from today, same result.

from chat-with-gpt.

cogentapps avatar cogentapps commented on July 19, 2024

Thanks to #30, you can now run a pre-built Docker image:

docker run -v $(pwd)/data:/app/data -p 3000:3000 ghcr.io/cogentapps/chat-with-gpt:release

Would one of you be able to test this and see if it solves the issue?

from chat-with-gpt.

micallb avatar micallb commented on July 19, 2024

Works great!

from chat-with-gpt.

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.