Skip to content

Environment is “non-interactive” when using prisma migrate dev #4669

@heymartinadams

Description

@heymartinadams

Bug description

Something changed in my macOS Terminal environment since I updated NodeJS; I’ve needed to suddenly enable permissions where before none where needed. Likewise, I’m now receiving this strange error when I try to use prisma migrate:

Error: We detected that your environment is non-interactive. Running this command in not supported in this context.

image

How to reproduce

Not sure how to reproduce.

Expected behavior

Should let me choose to proceed with migration instead of ending the process.

Prisma information

2.13.0

Environment & setup

  • OS: macOS 11.1
  • Database: PostgreSQL
  • Node.js version: 15.4.0
  • Prisma version:
2.13.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug/0-unknownBug is new, does not have information for reproduction or reproduction could not be confirmed.topic: migrate

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions