Paul Hendrickson
10/15/2020, 7:02 PMAaron Fulkerson
10/15/2020, 8:30 PMPaul Hendrickson
10/16/2020, 1:23 AMRyan
10/16/2020, 5:47 AMPaul Hendrickson
10/16/2020, 1:55 PMerror /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
"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"
}
Paul Hendrickson
10/16/2020, 1:58 PMnexus-plugin-prisma
provides prisma for me, so I left it out. But even when I do yarn add prisma
I get the same error.Paul Hendrickson
10/16/2020, 2:02 PMprisma
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.Ryan
10/16/2020, 2:04 PMnexus-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?Paul Hendrickson
10/16/2020, 2:07 PMRyan
10/16/2020, 2:07 PMRyan
10/16/2020, 2:09 PMPaul Hendrickson
10/16/2020, 4:03 PMPaul Hendrickson
10/16/2020, 4:03 PM