photon with preview-5 DriverError
See original GitHub issueprisma2@2.0.0-preview-5:
{
"errors": [
{
"message": "Error querying the database: DriverError { Could not connect: address not specified } date=2019-08-05T10:14:50.903Z",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"findOneProfile"
],
"extensions": {
"code": "INTERNAL_SERVER_ERROR",
"exception": {
"stacktrace": [
"Error: Error querying the database: DriverError { Could not connect: address not specified } date=2019-08-05T10:14:50.903Z",
" at NodeEngine.engineReady (/Users/DC-BT/Documents/Projects/necom/server/node_modules/@generated/photon/runtime/index.js:13091:23)",
" at /Users/DC-BT/Documents/Projects/necom/server/node_modules/@generated/photon/runtime/index.js:13014:21"
]
}
}
}
],
"data": {
"findOneProfile": null
}
}
if I downgrade to prisma2@2.0.0-preview-3 photon works normal
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Untitled
... Surface 4 type cover driver error, Jimexs inc quebec, Brevstemme aarhus ... Itcot consultancy and services ltd, Check net usage tata photon...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fixed in latest alpha.
To summarize:
This breaks
And this works
I ran generate after changing the schema file. The same behavior can be observed in Postgres.