Trying to follow the getting started guide and get...
# orm-help
m
Trying to follow the getting started guide and getting an error (will post in thread)
Copy code
npm ERR! Cannot destructure property 'package' of 'node.target' as it is null.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/matt/.npm/_logs/2022-05-19T05_04_50_880Z-debug-0.log
Error: Command failed with exit code 1: npm install @prisma/client@3.14.0
 ERROR  Command failed with exit code 1: /Users/matt/Library/pnpm/store/v3/tmp/dlx-4837/node_modules/.bin/prisma migrate dev --name init
Maybe I have to use npm and not pnpm?
r
hi @Matt Fysh - how far into the "getting started" are you?
m
I think I got up to
prisma migrate
when it failed. Then I started again using npm instead of pnpm and everything works fine https://www.prisma.io/docs/getting-started/setup-prisma/start-from-scratch/relational-databases/using-prisma-migrate-typescript-postgres
I can retry with pnpm and open an issue if Prisma is supposed to work with pnpm also?
n
So it’s working for you as expected with npm but not with pnpm, correct?