question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:28 (14 by maintainers)

github_iconTop GitHub Comments

9reactions
barakcohcommented, Dec 29, 2020

same here, when trying to run migrate dev --preview-feature using NX’s @nrwl/workspace:run-commands executor.

would love to have some kind of a workaround for this

3reactions
barakcohcommented, Jan 10, 2021

Thanks for the suggestion @Jolg42 but according to the link you provided, it seems db push is only recommended for prototyping during development. Our use case involves using nx for both local dev as well as deploying for production, where we would very much like to use proper migration versioning.

Read more comments on GitHub >

github_iconTop Results From Across the Web

M1: Provide precompiled binaries for `aarch64-unknown-linux ...
Problem Right now you can't use Prisma on Docker alpine on M1 mac as it ... ENV DEBIAN_FRONTEND noninteractive ENV DEBCONF_NOWARNINGS="yes" ...
Read more >
Codespaces | YugabyteDB Docs
Use GitHub Codespaces to provision an instant development environment with ... root RUN apt-get update && export DEBIAN_FRONTEND=noninteractive && \ apt-get ...
Read more >
Newtonsoft - JSON Schema Validator
"image": "environment@8eb8db33-25c5-4da6-b3b6-a0631d9d6546",. 16. "name": "streamlit",. 17. "ports": [ ... "noninteractive". 24. ] No errors found.
Read more >
Nurse-Coordinated Blood Pressure Telemonitoring for Urban ...
... interactive and noninteractive education using short message service on treatment adherence and blood pressure among patients with hypertension. Nurs.
Read more >
Web-Based, Mixed Methods Randomized Controlled Trial
Participants were randomized to undergo asynchronous e-learning with an interactive or noninteractive module for chronic obstructive ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found