Achilleas
Achilleas•2w ago

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.
No description
19 Replies
Achilleas
AchilleasOP•2w ago
Anything here?
erquhart
erquhart•2w ago
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
Achilleas
AchilleasOP•2w ago
could it be because of this?
No description
erquhart
erquhart•2w ago
No that's just a range. If you run npm ls convex you can see the resolved version
Achilleas
AchilleasOP•2w ago
seems to be the latest
No description
erquhart
erquhart•2w ago
Is there any chance it's not pushed, or you're looking at a deployment that's not pushed
Achilleas
AchilleasOP•2w ago
I doubt it, the version is live on my convex dev instance and github plus it's been like this for 1-2 months
erquhart
erquhart•2w ago
Might be a bug then. cc/ @ari
ari
ari•2w ago
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
Achilleas
AchilleasOP•2w ago
hey @ari, it's industrious-hippopotamus-97 🦛
ari
ari•2w ago
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?
Achilleas
AchilleasOP•2w ago
- npx convex version says is not an existing command, but npm ls convex shows the latest version. - tried that, Convex dashboard shows the same
ari
ari•2w ago
ah sorry, its npx convex --version
Achilleas
AchilleasOP•2w ago
Shows 1.24.1 Do I need to run anything other than convex dev to deploy?
erquhart
erquhart•7d ago
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.
Achilleas
AchilleasOP•7d ago
Yeah it succeeds and says functions deployed with no issues. @ari any thoughts?
erquhart
erquhart•7d ago
Can you run npx convex dashboard, just to make absolutely sure we’re looking at the right deployment
Achilleas
AchilleasOP•4d ago
Yes, it takes me to the correct deployment @ari sorry for the ping, but what should I do?
ari
ari•4d ago
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

Did you find this page helpful?