Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prisma deploy Unknown command "deploy" #122

Open
guhyeon opened this issue May 4, 2021 · 1 comment
Open

prisma deploy Unknown command "deploy" #122

guhyeon opened this issue May 4, 2021 · 1 comment

Comments

@guhyeon
Copy link

guhyeon commented May 4, 2021

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
Copy link
Author

guhyeon commented May 4, 2021

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

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

No branches or pull requests

1 participant