react-apollo icon indicating copy to clipboard operation
react-apollo copied to clipboard

prisma deploy Unknown command "deploy"

Open guhyeon opened this issue 4 years ago • 1 comments

I followed up procedure in readme. but prisma deploy failed.

image

I did npm install -g prisma

And, run the following commands: cd react-apollo/server yarn install prisma deploy

guhyeon avatar May 04 '21 17:05 guhyeon

I catch that its reason is prisma version. update prisma version to 2.22.0 server\package.json { ... "dependencies": { "@prisma/client": "^2.22.0", ... }, "devDependencies": { "@prisma/cli": "^2.22.0", ... } }

And then remove directory server\prisma\migrations And type prisma migration deploy on cmd

guhyeon avatar May 04 '21 17:05 guhyeon