AndersR
AndersR2y ago

New project hangs at "Preparing convex functions..."

Hi, I am trying to add convex to an existing nextjs app. I ran npx project dev and selected create new project. However, now the process seems to hang at Preparing convex functions.. Any ideas why? here is the log, for reference
npx convex dev
What would you like to configure? a new project
Project name: <project name>
✔ Created project <project name>, manage it at https://dashboard.convex.dev/t/...
✔ Provisioned a dev deployment and saved its:
name as CONVEX_DEPLOYMENT to .env.local
URL as NEXT_PUBLIC_CONVEX_URL to .env.local

Write your Convex functions in convex/
Give us feedback at https://convex.dev/community or support@convex.dev

⠋ Preparing Convex functions...
npx convex dev
What would you like to configure? a new project
Project name: <project name>
✔ Created project <project name>, manage it at https://dashboard.convex.dev/t/...
✔ Provisioned a dev deployment and saved its:
name as CONVEX_DEPLOYMENT to .env.local
URL as NEXT_PUBLIC_CONVEX_URL to .env.local

Write your Convex functions in convex/
Give us feedback at https://convex.dev/community or support@convex.dev

⠋ Preparing Convex functions...
5 Replies
ballingt
ballingt2y ago
Any change if you ctrl-c and then try npx convex dev? Could you send us the instance name via private message?
AndersR
AndersROP2y ago
I tried that it and appears to still hang - I will dm you project info
Michal Srb
Michal Srb2y ago
Hey @AndersR have you run npm install convex ?
AndersR
AndersROP2y ago
Nope, I just followed the instructions displayed when clicking create project in the dashboard. However, after installing and re-running the dev command I now get a convex functions ready message. Thanks for the tip!
Michal Srb
Michal Srb2y ago
We’ll fix those instructions, thanks!

Did you find this page helpful?