Almir Mulalic
05/12/2020, 12:53 AMRoy
05/12/2020, 9:58 AMEnvironment variables loaded from ./prisma/.env
Generating Prisma Client ... Failed to generate Prisma Client: GeneratorError: Error: ENOENT: no such file or directory, copyfile '/Users/roy/Workspace/horeca/backend/node_modules/@prisma/cli/index.js' -> '/Users/roy/.cache/prisma/studio/Users-roy-Workspace-horeca-backend/index.js'
at GeneratorProcess.handleResponse (/Users/roy/Workspace/horeca/backend/node_modules/@prisma/cli/build/index.js:2:2807165)
at LineStream.<anonymous> (/Users/roy/Workspace/horeca/backend/node_modules/@prisma/cli/build/index.js:2:2806803)
at LineStream.emit (events.js:210:5)
at LineStream.EventEmitter.emit (domain.js:475:20)
at addChunk (_stream_readable.js:309:12)
at readableAddChunk (_stream_readable.js:290:11)
at LineStream.Readable.push (_stream_readable.js:224:10)
at LineStream.Transform.push (_stream_transform.js:150:32)
at LineStream._pushBuffer (/Users/roy/Workspace/horeca/backend/node_modules/@prisma/cli/build/index.js:2:2979140)
at LineStream._transform (/Users/roy/Workspace/horeca/backend/node_modules/@prisma/cli/build/index.js:2:2978959) {
code: -32000,
data: null
}
Luís Almeida
05/12/2020, 10:01 AMLuís Almeida
05/12/2020, 10:01 AMRoy
05/12/2020, 10:02 AMLuís Almeida
05/12/2020, 10:04 AMyarn global add @prisma/cli@alpha
if you’re using yarn and want prisma installed globallyRoy
05/12/2020, 10:05 AMLuís Almeida
05/12/2020, 10:06 AMBruce Martin
05/12/2020, 3:25 PMprisma init prisma
it gives me:
command Failed to get the definition file +0ms
command Error: Couldn't find `prisma.yml` file. Are you in the right directory? +3ms
environment FetchError: request to <http://localhost:4466/management> failed, reason: connect ECONNREFUSED 127.0.0.1:4466
Which seems like it expects something to already exist? It then proceeds to further steps, but is something wrong here?saketh kumar
05/12/2020, 5:58 PMJeremy McCLelland
05/12/2020, 8:22 PMOmobolanle Aro
05/12/2020, 9:42 PMcfree
05/12/2020, 9:45 PMcfree
05/12/2020, 10:46 PMError: Unknown type "DateTime".
and many other similar errors when I use the Prisma javascript-client generator in the prisma.yml, but I don't have that issue when I use the graphql-schema?Rob Matei
05/13/2020, 12:58 AMAdriano Resende
05/13/2020, 2:58 AMsaketh kumar
05/13/2020, 12:02 PMGlenn Dwiyatcita
05/13/2020, 12:28 PMGraphQL Playground
to choose the database... (neither in the Web nor Desktop version). Any clue why it aint showing up?Slavi Slavchev
05/13/2020, 1:17 PMsaketh kumar
05/13/2020, 3:23 PMFelinto
05/13/2020, 8:30 PMFelinto
05/13/2020, 8:31 PMMatt
05/13/2020, 9:10 PMAdriano Resende
05/14/2020, 2:58 AM_import_ { PrismaClient } _from_ ‘@prisma/client’
RoMay
05/14/2020, 4:23 PMRoMay
05/14/2020, 4:23 PMJohn Cantrell
05/14/2020, 9:35 PMJohn Cantrell
05/14/2020, 9:35 PMcory kelly
05/14/2020, 9:50 PMsaketh kumar
05/15/2020, 5:27 AM