Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

Cannot install prisma-multi-tenant, appears to have conflict with prisma/cli #80

@Alwigi

Description

@Alwigi

I have prisma + prisma/client v2.25.0 installed and all is working fine against a Sql Server database.
When installing prisma-multi-tenant using:

npm i -g prisma-multi-tenant

I get this in the terminal:

@prisma/cli@2.20.1 preinstall C:\Users\zzzzzzz\npm\node_modules\prisma-multi-

tenant\node_modules@prisma\cli

node scripts/preinstall-entry.js

│     The package @prisma/cli has been renamed to prisma.                     
│                                                                             
│     Please uninstall @prisma/cli first.                                     
│     Then install prisma to continue using Prisma CLI:                       
│                                                                             
│         # Uninstall old CLI                                                 
│         npm uninstall @prisma/cli                                           
│                                                                             
│         # Install new CLI                                                   
│         npm install prisma --save-dev                                       
│                                                                             
│         # Invoke via npx                                                    
│         npx prisma --help                                                   
│                                                                             
│     Learn more here: https://github.com/prisma/prisma/releases/tag/2.16.0 

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @prisma/cli@2.20.1 preinstall: `node scripts/preinstall-entry.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @prisma/cli@2.20.1 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I have tried as below but the problem persists:

  • Removing @prisma/cli and installing prisma
  • Downgrading both prisma + prisma/client to v2.20.1.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions