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.

Query Engine failed ENOENT

See original GitHub issue

OS: MacOS Database: PostgreSQL Version: alpha

When I’m running this command prisma2 generate, sometimes I get this error:

Error: Error: Command failed with ENOENT: ../node_modules/prisma2/query-engine-darwin cli --dmmf
spawn ../node_modules/prisma2/query-engine-darwin ENOENT

The only way to make it work again is to rm -rf node_modules and install again. When I’m making a deploy to my server I need to manually do the same thing.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:21 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
pantharshit00commented, Feb 21, 2020

I am unable to reproduce this anymore 😃

1reaction
timsuchanekcommented, Feb 21, 2020

We did a fix in prisma2@alpha. Please try it out, everyone 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Query Engine failed ENOENT · Issue #1427 · prisma ... - GitHub
The only way to make it work again is to rm -rf node_modules and install again. When I'm making a deploy to my...
Read more >
Why my gatsby build failed on Error: ENOENT: no such file or ...
try deleting the .cache directory in your gatsby project and run yarn start or yarn build again (or the equivalent npm commands if...
Read more >
express error: enoent: no such file or directory, stat - You.com
You.com is an ad-free, private search engine that you control. Customize search results with 150 apps alongside web results. Access a zero-trace private ......
Read more >
Sign in - YouTube
Node.js/Windows error : ENOENT, stat 'C:\Users\RT\AppData\Roaming\npm' [ Gift : Animated Search Engine ...
Read more >
Error: ENOENT: no such file or directory, open 'C:\Users\kudo ...
You dont on expo, hermes works but if I use RTK query with only simple fetch data then this error comes. Makes no...
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