Hello everyone! My prisma server version is 1.32.0...
# orm-help
j
Hello everyone! My prisma server version is 1.32.0-beta how do I switch it back to 1.31? I have removed it and reinstalled with
yarn global add prisma@1.31
but its still at 1.32.0-beta
j
where is your prisma server hosted?
d
it's a demo server
getting a couple of errors:
Copy code
Valid values for the strategy argument of `@scalarList` are: RELATION.
j
you can’t modify the prisma version running on the demo servers
d
ok i'm confused though - when i went to deploy, it was throwing errors saying I needed to use the @id directive on my types
j
right
d
so i finally tracked down a video to update the model
and now it's throwing these scalarList errors
j
so, when you do “yarn global add prisma”, you’re not updating the prisma server
you’re updating the prisma CLI on your local machine
d
ok
right
so do i need to roll back to what I had before?
j
the CLI version that you’re running locally using “yarn add global” should be kept in sync with the version that’s running on your prisma server
in your case, you don’t have control over the version that runs on the server because you’re using a demo server
so you should upgrade the local cli to 1.32.0-beta
that’s step 1
step 2 is to fix all the errors that popup when you do a “prisma deploy”
are you doing the wes bos course?
d
i did it a while back, yeah
j
his slack channel for that course has lots of very recent comments from folks experiencing the breaking changes from yesterday
d
ok
j
and fixes for most of the errors, including the sclarlist error that’s popping up on the User type
d
cool i'll check that out
j
good luck!
d
lol thanks!
j
I am also using the demo server so I will update the local cli so they are in sync. I am just using the howtographql.com so I dont have access to the wes bos stuff. Any suggestions?