menu

Prisma

🔴 The Prisma Spectrum community is not officially managed by Prisma's support team any more. Please seek help on GitHub or on Slack instead. Learn more: https://spectrum.chat/prisma/general/where-and-how-to-best-seek-help-with-questions-problems~687a1b8f-8658-4df3-8849-ea5ab3503f28

Channels
Chat
view-forward
# All channels
view-forward
# General
view-forward
# Beta
view-forward
# Community
view-forward
# GraphQL
view-forward
# OSS
view-forward
# Random
view-forward
Team

Prisma Init "Cannot read property 'type"

May 15, 2019 at 10:58am

Prisma Init "Cannot read property 'type"

May 15, 2019 at 10:58am
Hello everyone! I've used prisma init on an existing MySQL database with existing data - selected these in the wizard - and during introspection, I'I get the message: "Cannot read property 'type' of undefined".
Prisma version: 1.32.2
Thanks!

May 15, 2019 at 10:58am

January 8, 2020 at 9:56am
Same issue here
  • reply
  • like

April 11, 2020 at 9:07am
Exactly same here. Any updates?
  • reply
  • like
BTW, solved it by npm install /cli --save-dev before npx prisma init or npx prisma introspect
  • reply
  • like