Environment is “non-interactive” when using `prisma migrate dev`
See original GitHub issueBug 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.
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:
- Created 3 years ago
- Reactions:3
- Comments:28 (14 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
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.