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

error Command "up" not found. #9059

Closed
fahimahammed opened this issue May 11, 2024 · 2 comments
Closed

error Command "up" not found. #9059

fahimahammed opened this issue May 11, 2024 · 2 comments

Comments

@fahimahammed
Copy link

Bug description

I am encountering difficulties while attempting to upgrade Prisma ORM to version 5 from an earlier version. Following the documentation provided, I executed the command yarn up prisma@5 @prisma/client@5. However, I encountered an error stating "Command 'up' not found."

How to reproduce

  1. Navigate to a project using an earlier version of Prisma ORM.
  2. Execute the command yarn up prisma@5 @prisma/client@5.

Expected behavior

The command should upgrade both the prisma and @prisma/client packages to version 5 as documented, without throwing an error.

Environment & setup

  • OS: macOS
  • Database: PostgreSQL
  • Node.js version: 20..10.0
@fahimahammed
Copy link
Author

Yarn doesn't use up for upgrades. Here's the correct approach using the standard yarn upgrade command:

yarn upgrade prisma @prisma/client

@Daniel15
Copy link
Member

Closing as question was answered above

@Daniel15 Daniel15 closed this as not planned Won't fix, can't repro, duplicate, stale May 24, 2024
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

2 participants