Skip to content
This repository has been 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

Open
Alwigi opened this issue Jun 29, 2021 · 1 comment

Comments

@Alwigi
Copy link

Alwigi commented Jun 29, 2021

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/[email protected] 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/[email protected] preinstall: `node scripts/preinstall-entry.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @prisma/[email protected] 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?

@avishwakarma
Copy link

Any updates on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants