steebchen / prisma-client-go

Prisma Client Go is an auto-generated and fully type-safe database client
https://goprisma.org
Apache License 2.0
2.02k stars 96 forks source link

Build Error for new projects or Quickstart repo #1274

Closed ohthepain closed 1 month ago

ohthepain commented 1 month ago

Repro steps (MacOS):

Clone the Quickstart repo: git@github.com:steebchen/prisma-go-demo.git Run 'go build' Observed: ERROR: package slices is not in GOROOT (/usr/local/go/src/slices)

The same error occurs when you create a new project.

steebchen commented 1 month ago

Please use upgrade go to 1.21, or downgrade to an older version of prisma-client-go.