-
Notifications
You must be signed in to change notification settings - Fork 2.1k
EPERM: operation not permitted #9351
Copy link
Copy link
Closed
Labels
kind/bugA reported bug.A reported bug.
Description
Bug description
I started writing a Database Model in Prisma for an express API, but unfortunately when I ran yarn prisma migrate dev --name "Initial Data Model" i am getting an Error
Here is the complete version
error An unexpected error occurred: "EPERM: operation not permitted, unlink 'D:\\APIs\\Randize\\node_modules\\prisma\\query_engine-windows.dll.node'".
info If you think this is a bug, please open a bug report with the information provided in "D:\\APIs\\Randize\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Error: Command failed with exit code 1: yarn add -D prisma@3.0.2
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Kindly Help me out with this!
Operating System: Windows 11 Beta
Yarn: 1.22.10
Prisma: 3.0.2
Editor: Visual Studio Code
How to reproduce
Expected behavior
No response
Prisma information
Environment & setup
- OS: Windows 11 Beta
- Database: PostgreSQL
- Node.js version: v14.16.1
Prisma Version
3.0.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugA reported bug.A reported bug.