Windows reports a virus when attempting to install prisma or @prisma/client
See original GitHub issueBug description
When I try to add prisma or @prisma/client as dependencies, it fails with an error message regarding index-browser.js. Windows reports a virus.
error An unexpected error occurred: "UNKNOWN: unknown error, copyfile 'C:\\Users\\jon\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@prisma-client-3.6.0-68a60cd4c73a369b11f72e173e86fd6789939293-integrity\\node_modules\\@prisma\\client\\runtime\\index-browser.js' -> 'C:\\source\\repos\\clients\\fullstackfish\\double-barreled-prisma\\node_modules\\@prisma\\client\\runtime\\index-browser.js'".
info If you think this is a bug, please open a bug report with the information provided in "C:\\source\\repos\\clients\\fullstackfish\\double-barreled-prisma\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
How to reproduce
- Create a new folder
- Open terminal
npm init -y
yarn add -D prisma
oryarn add @prisma/cilent
Expected behavior
The dependencies should be installed. Windows should not report a virus.
Prisma information
Environment & setup
- OS: Windows 11
- Database: n/a
- Node.js version: 14.8.1
Prisma Version
n/a I don't get that far
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Trying to install my application but getting a Security Warning
They get a message that says: Your administrator has blocked this application because it potentially poses a security risk to your computer.
Read more >Install Prisma Client | typescript-postgres
Install and generate Prisma Client. To get started with Prisma Client, you need to install the @prisma/client package:.
Read more >JWT Authentication with Apollo Server and Prisma - Morioh
In this tutorial, we are going to learn how to handle authentication with Apollo Server and Prisma.
Read more >Best Moon Modeler Alternatives & Competitors - SourceForge
Moon Modeler is available for Windows, Mac and Linux. ... Learn how to use the Prisma client to access your database inside your...
Read more >'prisma' is not recognized as an internal or external command ...
Install it globally with; npm i -g prisma ... Windows doesn't know where is prisma , so you must tell him where to...
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
I think this means I need to get a Mac for Christmas.
It’s Windows Defender. I wonder why Microsoft is flagging it as malicious.