```❯ npm install -D prisma@2.25.0 npm ERR! Cannot ...
# orm-help
s
Copy code
❯ npm install -D prisma@2.25.0
npm ERR! Cannot read property 'matches' of null
How can I install it properly? Note I would like to use
pnpm
but prisma always seems to try to install with
npm
j
What command are you running when you try to use pnpm? Did you run
npm install -D prisma@2.25.0
manually above? What node and npm version,? What OS?
s
I tried both npx and pnpx, both commands try to install npm even though my lock is pnpm.
Copy code
❯ node -v
v14.17.0
❯ pnpm -v
6.7.6
❯ npm -v
7.17.0
Linux xenfo-G3-3500 5.11.0-18-generic #19-Ubuntu SMP Fri May 7 14:22:03 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
j
What does “try to install npm” look like?