4Twenty
4Twenty
CCConvex Community
Created by 4Twenty on 4/10/2025 in #general
Guys, I'm having an initialization error
yeah, I'm using windows. Escaping double quotes fixed the command. "predev": "convex dev --until-success && convex dev --once --run-sh \"node setup.mjs --once\" && convex dashboard"
20 replies
CCConvex Community
Created by 4Twenty on 4/10/2025 in #general
Guys, I'm having an initialization error
This fixed the issue. Thanks a lot!
20 replies
CCConvex Community
Created by 4Twenty on 4/10/2025 in #general
Guys, I'm having an initialization error
npm list convex convex@0.1.0 C:\Users\user\Desktop\convex ├─┬ @convex-dev/auth@0.0.81 │ └── convex@1.23.0 deduped └── convex@1.23.0
20 replies
CCConvex Community
Created by 4Twenty on 4/10/2025 in #general
Guys, I'm having an initialization error
I mean it comes from the initialization itself by default. This is the output without the flag.
convex@0.1.0 predev convex dev --until-success && convex dev --once --run-sh 'node setup.mjs' && convex dashboard ✔ Provisioned a dev deployment and saved its name as CONVEX_DEPLOYMENT to .env.local ✔ 10:35:51 Convex functions ready! (2.17s) error: too many arguments for 'dev'. Expected 0 arguments but got 1.
20 replies
CCConvex Community
Created by 4Twenty on 4/10/2025 in #general
Guys, I'm having an initialization error
convex@0.1.0 is the name of the project. package.json
"name": "convex", "version": "0.1.0", "private": true, "scripts": { "dev": "npm-run-all --parallel dev:frontend dev:backend", "dev:frontend": "next dev", "dev:backend": "convex dev", "predev": "convex dev --until-success && convex dev --once --run-sh 'node setup.mjs --once' && convex dashboard", "build": "next build", "start": "next start", "lint": "next lint" }, "dependencies": { "@convex-dev/auth": "^0.0.81", "convex": "^1.23.0", "next": "15.2.3", "react": "^19.0.0", "react-dom": "^19.0.0"
20 replies