Bug description
I am trying to set up an existing project in a new device running Win10. I install the dependencies (including "@prisma/client": "^3.3.0"). When I try to run prisma generate I get this:
Prisma schema loaded from prisma\schema.prisma
Error: Unable to require(`C:\Users\carme\AppData\Roaming\npm\node_modules\prisma\query_engine-windows.dll.node`)
The specified module could not be found.
\\?\C:\Users\carme\AppData\Roaming\npm\node_modules\prisma\query_engine-windows.dll.node
query_engine-windows.dll.node is in my project node_modules/prisma folder, but it doesn't appears in node_modues/.prisma
If I try to run prisma -v I get:
Error: Command failed with exit code 3221225781: C:\Users\carme\AppData\Roaming\npm\node_modules\prisma\node_modules\@prisma\engines\introspection-engine-windows.exe --version
Tried deleting node_modules, manually reinstalling @prisma/client, rebooting the system, but no success. Any idea? thanks.
How to reproduce
In my case just running prisma generate causes the issue.
Expected behavior
No response
Prisma information
Environment & setup
OS: Windows 10
Database: PostgreSQL
Node.js version: v16.13.0
Prisma Version
Bug description
I am trying to set up an existing project in a new device running Win10. I install the dependencies (including "@prisma/client": "^3.3.0"). When I try to run
prisma generateI get this:query_engine-windows.dll.node is in my project node_modules/prisma folder, but it doesn't appears in node_modues/.prisma
If I try to run
prisma -vI get:Tried deleting node_modules, manually reinstalling @prisma/client, rebooting the system, but no success. Any idea? thanks.
How to reproduce
In my case just running
prisma generatecauses the issue.Expected behavior
No response
Prisma information
Environment & setup
OS: Windows 10
Database: PostgreSQL
Node.js version: v16.13.0
Prisma Version