Does anyone know where to go for support?
# orm-help
p
Does anyone know where to go for support?
a
Depends on what kind of support. Generally speaking people are pretty receptive to help requests in this channel and in #prisma2 but you might need to open an issue if it’s a bug or feature request. Also the docs are pretty comprehensive.
p
I’m getting a “self signed certificate in certificate path” error. And I’m not sure what’s going on.
r
Hey @Paul Hendrickson 👋 Could you elaborate a bit on your setup and how you’re getting the error?
p
@Ryan absolutely! The error I’m getting is
Copy code
error /Users/paulhendrickson/projects/testing-new-products/prisma/prisma-nexus-demo/node_modules/@prisma/sdk: Command failed.
Exit code: 1
Command: node scripts/download.js
Arguments:
Directory: /Users/paulhendrickson/projects/testing-new-products/prisma/prisma-nexus-demo/node_modules/@prisma/sdk
Output:
version: eaade828a21d8ee3f4940f0af7da3ae0922db4df
FetchError: request to <https://binaries.prisma.sh/all_commits/eaade828a21d8ee3f4940f0af7da3ae0922db4df/darwin/migration-engine.gz.sha256|https://binaries.prisma.sh/all_commits/eaade828a21d8ee3f4940f0af7da3ae0922db4df/darwin/migration-engine.gz.sha256> failed, reason: self signed certificate in certificate chain
    at ClientRequest.<anonymous> (/Users/paulhendrickson/projects/testing-new-products/prisma/prisma-nexus-demo/node_modules/node-fetch/lib/index.js:1461:11)
    at ClientRequest.emit (events.js:315:20)
    at TLSSocket.socketErrorListener (_http_client.js:463:9)
    at TLSSocket.emit (events.js:315:20)
    at emitErrorNT (internal/streams/destroy.js:100:8)
    at emitErrorCloseNT (internal/streams/destroy.js:68:3)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
  type: 'system',
This is from my package.JSON
Copy code
"dependencies": {
    "@nexus/schema": "^0.15.0",
    "apollo-server-micro": "^2.17.0",
    "next": "9.5.3",
    "nexus-plugin-prisma": "^0.19.0",
    "react": "16.13.1",
    "react-dom": "16.13.1"
  },
  "devDependencies": {
    "@types/react": "^16.9.49",
    "typescript": "^4.0.3"
  }
I saw online that the
nexus-plugin-prisma
provides prisma for me, so I left it out. But even when I do
yarn add prisma
I get the same error.
Also, if I create a new repo and just add
prisma
and
@prisma/cli
when I run
npx prisma init
the command seems to run but won’t create any files like it says it should.
r
The latest version of
nexus-plugin-prisma
doesn’t, but it seems you have
0.19.0
so it should work without installing Prisma. Could you try on another internet connection if possible? It seems you have an issue downloading the binaries. Are you behind a VPN or something like that?
p
Yeah, this is my work computer, they have some device management stuff on here. Is that the problem?
r
Possibly.
If it works on another connection, then the connection you have might be causing an issue.
p
Yeah, seems like it’s my work security.
Thanks for your help.