Hi everybody! I'm trying to get started with Prism...
# prisma1-community
a
Hi everybody! I'm trying to get started with Prisma by running
prisma init
, with an existing MySQL database running locally, but when I do this I get the following error -
TypeError: Cannot read property 'startsWith' of undefined
. Does anyone have an idea of what this could be?
r
Hey @Ashwin Kudva 👋 I think you are using an older version of Prisma. You would have to uninstall any global installation and get started via this tutorial.
👍 1
j
What does
prisma -v
output for you @Ashwin Kudva? Do you want to use Prisma 1 or Prisma 2?
a
got it working by just creating a new mysql image in docker, thanks!