khareta
03/03/2021, 8:41 PMkhareta
03/03/2021, 9:23 PMnpm uninstall -g prisma
it shows me this:
up to date in 0.03s
Like it's updating instead of uninstallingcfree
03/30/2021, 3:11 AM🚀 Server ready: /graphql
[GraphQL error]: Message: Project not found: 'four-players-co~four-players-co@dev%22%20', Location: undefined, Path: undefined
[Network error]: Error: Project not found: 'four-players-co~four-players-co@dev%22%20'
(node:95189) UnhandledPromiseRejectionWarning: Error: Project not found: 'four-players-co~four-players-co@dev%22%20'
at BatchedGraphQLClient.<anonymous> (.../node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:69:35)
at step (.../node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:40:23)
at Object.next (.../node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:21:53)
at fulfilled (.../node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:12:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:95189) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see <https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode>). (rejection id: 1)
(node:95189) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
What’s happening??Sadananda Raj
04/05/2021, 2:47 PMtmoney
04/07/2021, 10:18 PMkhareta
04/10/2021, 5:44 PMLars Ivar Igesund
04/10/2021, 8:19 PMVladi Stevanovic
Moray Macdonald
04/23/2021, 10:52 AMprisma.users({ where: { id_in: [1, 2, 3] } });
The order of the returned entities will be the same as the order of the array passed to the query?venky
04/23/2021, 3:06 PMLars Ivar Igesund
04/25/2021, 9:03 AMNino Vrijman
05/03/2021, 10:19 AMAbhischek
05/04/2021, 3:19 PMplayground
per these instructions: https://v1.prisma.io/forum/t/graphcool-playground-options-to-disable/2947/6 ?
I'm getting an error trying to set it to `false`:
Type 'boolean' is not assignable to type 'string | false'.
totetsumonai
05/07/2021, 9:59 AMmohammad nowresideh
05/11/2021, 10:44 AMgraphql
and prisma
with postgres database, when i try to deploy schema.graphql
file with prisma1 deploy
command it gives me an error.
{
"data": {
"addProject": null
},
"errors": [
{
"message": "Whoops. Looks like an internal server error. Search your server logs for request ID: local:ckoj44v3i02hc0877ny7w1j6q",
"path": [
"addProject"
],
"locations": [
{
"line": 2,
"column": 9
}
],
"requestId": "local:ckoj44v3i02hc0877ny7w1j6q"
}
],
"status": 200
}
docker logs:
Warning: Management API authentication is disabled. To protect your management server you should provide one (not both) of the environment variables 'CLUSTER_PUBLIC_KEY' (asymmetric, deprecated soon) or 'PRISMA_MANAGEMENT_API_JWT_SECRET' (symmetric JWT).
{"key":"error/unhandled","requestId":"local:ckoj44v3i02hc0877ny7w1j6q","payload":{"exception":"org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint \"Project_pkey\"\n Detail: Key (id)=(reviews$default) already exists.","query":" mutation addProject($name: String! $stage: String! $secrets: [String!]) {\n addProject(input: {\n name: $name,\n stage: $stage\n secrets: $secrets\n }) {\n project {\n name\n }\n }\n }\n ","variables":"{\"name\":\"reviews\",\"stage\":\"default\",\"secrets\":null}","code":"0","stack_trace":"org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)\\n org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)\\n org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:306)\\n org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)\\n org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)\\n org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:155)\\n org.postgresql.jdbc.PgPreparedStatement.execute(PgPreparedStatement.java:144)\\n com.prisma.connector.shared.jdbc.SharedSlickExtensions.$anonfun$insertToDBIO$1(SharedSlickExtensions.scala:37)\\n com.prisma.connector.shared.jdbc.SharedSlickExtensions.$anonfun$insertToDBIO$1$adapted(SharedSlickExtensions.scala:37)\\n com.prisma.connector.shared.jdbc.SharedSlickExtensions.$anonfun$jooqToDBIO$1(SharedSlickExtensions.scala:56)\\n slick.jdbc.SimpleJdbcAction.run(StreamingInvokerAction.scala:70)\\n slick.jdbc.SimpleJdbcAction.run(StreamingInvokerAction.scala:69)\\n slick.basic.BasicBackend$DatabaseDef$$anon$3.liftedTree1$1(BasicBackend.scala:276)\\n slick.basic.BasicBackend$DatabaseDef$$anon$3.run(BasicBackend.scala:276)\\n java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\\n java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\\n java.lang.Thread.run(Thread.java:748)","message":"ERROR: duplicate key value violates unique constraint \"Project_pkey\"\n Detail: Key (id)=(reviews$default) already exists."}}
cfree
05/13/2021, 6:21 AM$ npm run deploy
> offroad-club-backend@1.0.0 deploy /offroad-api
> prisma deploy --env-file variables.env
Deploying service `default` to stage `default` to server `fp-prod` !
ERROR: GraphQL Error (Code: 503)
{
"error": "<!DOCTYPE html>\n\t<html>\n\t <head>\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\t\t<meta charset=\"utf-8\">\n\t\t<title>Application Error</title>\n\t\t<style media=\"screen\">\n\t\t html,body,iframe {\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t }\n\t\t html,body {\n\t\t\theight: 100%;\n\t\t\toverflow: hidden;\n\t\t }\n\t\t iframe {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tborder: 0;\n\t\t }\n\t\t</style>\n\t </head>\n\t <body>\n\t\t<iframe src=\"//www.herokucdn.com/error-pages/application-error.html\"></iframe>\n\t </body>\n\t</html>",
"status": 503
}
Get in touch if you need help: <https://slack.prisma.io>
To get more detailed output, run $ export DEBUG="*"
(node:55959) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! offroad-club-backend@1.0.0 deploy: `prisma deploy --env-file variables.env`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the offroad-club-backend@1.0.0 deploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /.npm/_logs/2021-05-13T06_17_17_151Z-debug.log
khareta
05/17/2021, 9:59 AMtmoney
05/20/2021, 7:46 AM/status
, and I am not sure if the prisma pods are even capable of talking to my database. When I exec
into the pods and run a netstat -an
they show me that it's listening on port 3306
. But I get a 502 bad gateway response when I hit the load balancer end point. Is there anyone who would be willing to help me troubleshoot, I'll gladly pay you for your time, just DM me.Malcolm
05/26/2021, 6:06 PMMalcolm
05/26/2021, 6:07 PMLars Ivar Igesund
05/28/2021, 6:58 AMLars Ivar Igesund
05/28/2021, 6:59 AMLars Ivar Igesund
05/28/2021, 7:32 AMLars Ivar Igesund
05/28/2021, 7:49 AMLars Ivar Igesund
05/29/2021, 7:51 PMTaylor
06/01/2021, 10:34 AMTaylor
06/01/2021, 10:35 AMTaylor
06/01/2021, 10:36 AMTaylor
06/04/2021, 2:00 PMamaraa
06/06/2021, 11:29 AM