Coder Social home page Coder Social logo

Express won't start. about pythagora HOT 11 CLOSED

pythagora-io avatar pythagora-io commented on May 19, 2024
Express won't start.

from pythagora.

Comments (11)

zvone187 avatar zvone187 commented on May 19, 2024 1

I'm closing this issue for now. Postgres is the next big feature we'll be implementing. Will update this issue once it's ready.

from pythagora.

zvone187 avatar zvone187 commented on May 19, 2024

Hi @andrewtite-webonise, thanks for bringing the convo here. What version of Pythagora are you using? We'll be releasing a new version today which might solve this issue.

from pythagora.

andrewtite-webonise avatar andrewtite-webonise commented on May 19, 2024

@zvone187 That's would be absolutely amazing if you released a new version today that solves this.
I'm using Pythagora version "pythagora": "^0.0.29",

from pythagora.

andrewtite-webonise avatar andrewtite-webonise commented on May 19, 2024

@zvone187 I also notice PostgrSQL is listed as "Upcoming".
That's my primary database.
Not sure if this is related or will cause issues.
I really want this package to work for me. It's kind of amazing if it works!

from pythagora.

zvone187 avatar zvone187 commented on May 19, 2024

Hi Andrew, we just released it. You can install [email protected]. With it, there are a couple of things changed (made easier). Now, you don't need to add any lines of code to your codebase + you can run pythagora with any command you're usually using to run your app.

For example, if you're running your app with "npm run start", now you run Pythagora with npx pythagora --init-command "npm run start". We also added a couple more commands that you can see here - https://github.com/Pythagora-io/pythagora#-options

So, you can just do npm i [email protected] and once that finishes run npx pythagora --init-command "npm run start" and you should be ready to go.

Let me know how it goes.

from pythagora.

andrewtite-webonise avatar andrewtite-webonise commented on May 19, 2024

This should work with Express with Sequelize ORM using Postres?

from pythagora.

andrewtite-webonise avatar andrewtite-webonise commented on May 19, 2024

It won't run. When I run it I receive the error:
Error: 'Pythagora is unable to check dependencies. Express and MongoDb are necessary for Pythagora to run. Exiting...

from pythagora.

zvone187 avatar zvone187 commented on May 19, 2024

Ah yes, you're right. We disabled Pythagora for any database other than Mongodb since tests can show they PASSED even when they aren't if the database is not being mocked. Sorry...but I'll make sure to ping you once we add Postgres - that should be in a month or two.

from pythagora.

andrewtite-webonise avatar andrewtite-webonise commented on May 19, 2024

That extremely disappointing.
I was excited to show this off working on our project.

from pythagora.

zvone187 avatar zvone187 commented on May 19, 2024

😞 I'll try to get postgres support out asap...

from pythagora.

andrewtite-webonise avatar andrewtite-webonise commented on May 19, 2024

Thanks, bud. I appreciate it.
Keep up the good work.
I'm very impressed with this project.
It will save SO MUCH development time writing tests!
Keep me posted.
I Can't wait to hear back from you.

from pythagora.

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.