Skip to content

prisma deploy Unknown command "deploy" #122

Open
@guhyeon

Description

@guhyeon

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

Activity

guhyeon

guhyeon commented on May 4, 2021

@guhyeon
Author

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      prisma deploy Unknown command "deploy" · Issue #122 · howtographql/react-apollo