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.

Windows reports a virus when attempting to install prisma or @prisma/client

See original GitHub issue

Bug 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

  1. Create a new folder
  2. Open terminal
  3. npm init -y
  4. yarn add -D prisma or yarn 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:closed
  • Created 2 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
jonrcrowellcommented, Dec 15, 2021

I think this means I need to get a Mac for Christmas.

2reactions
jonrcrowellcommented, Dec 15, 2021

It’s Windows Defender. I wonder why Microsoft is flagging it as malicious.

Read more comments on GitHub >

github_iconTop 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 >

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