Problems with the MGMT Example Project (Templates)
I wanted to install the MGMT Example Project from the templates (https://www.convex.dev/templates/fullstack), but when I run "npm run dev"
I get the error 'ERROR: "dev:init" exited with 1.'. Does anybody know what that means?
2 Replies
dev:init
is the name of a script in package.json
. It runs npx convex dev --until-success
. npm run dev
runs that, and then runs the frontend (next dev
) and backend (syncing code to convex with convex dev
) in parallelI just pushed a change so it isn't called
dev:init
but will run before npm run dev
by naming it predev
. more details here: https://stack.convex.dev/npm-run-dev-with-package-scriptsSupercharge
npm run dev
with package.json scriptsWith a simple
npm run dev
we can sign up a user for Convex, add seed data, and run the frontend and backend (including database) in parallel. Here's...