-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Express won't start. #20
Comments
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. |
@zvone187 That's would be absolutely amazing if you released a new version today that solves this. |
@zvone187 I also notice PostgrSQL is listed as "Upcoming". |
Hi Andrew, we just released it. You can install For example, if you're running your app with "npm run start", now you run Pythagora with So, you can just do Let me know how it goes. |
This should work with Express with Sequelize ORM using Postres? |
It won't run. When I run it I receive the error: |
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. |
That extremely disappointing. |
😞 I'll try to get postgres support out asap... |
Thanks, bud. I appreciate it. |
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. |
Normally when I start my Express API Server, I get:
But when I run
npx pythagora --initScript ./app/server.js --mode capture
it doesn't seem to hit the callback inserver.listen
and I get this instead:I'm running Express as an API server for a React frontend with a Postgres DB.
I'm trying to use this on my Express API Server.
Can you please help?
I'm not sure how to get this to work.
Thanks.
The text was updated successfully, but these errors were encountered: