Last deployed shows wrong version
Last deploy prompts me to update my Convex version, even though I've already updated and deployed and my package.json in on the latest Convex version.

19 Replies
Anything here?
It says you're on 1.19.2, can you grep to see if there's a reference to that version in a lockfile or something
could it be because of this?

No that's just a range. If you run
npm ls convex
you can see the resolved versionseems to be the latest

Is there any chance it's not pushed, or you're looking at a deployment that's not pushed
I doubt it, the version is live on my convex dev instance
and github
plus it's been like this for 1-2 months
Might be a bug then. cc/ @ari
Hey @Achilleas whats the name of your deployment? Should be in your browser's address bar in this format when viewing the health page: adjective-animal-111
hey @ari, it's
industrious-hippopotamus-97
🦛Ah interesting, I'm seeing that the version is indeed 1.19.2 on that deployments.
Can you try a couple things to help me debug?
- What does
npx convex version
return?
- Can you try deleting your node_modules, reinstalling, then deploying your dev deployment again?-
npx convex version
says is not an existing command, but npm ls convex
shows the latest version.
- tried that, Convex dashboard shows the sameah sorry, its
npx convex --version
Shows 1.24.1
Do I need to run anything other than
convex dev
to deploy?No that's all,
npx convex dev
deploys to dev. You'll want to check for a success message, if there are errors (eg., typescript errors) the deploy fails.Yeah it succeeds and says functions deployed with no issues. @ari any thoughts?
Can you run
npx convex dashboard
, just to make absolutely sure we’re looking at the right deploymentYes, it takes me to the correct deployment
@ari sorry for the ping, but what should I do?
Heya - yeah this is quite odd. Have you deployed your production deployment? Is it also saying the version is outdated?
My next debug step would be to see what happens if you try to deploy your code into a new project, temporarily. You can do so by running
npx convex dev --configure