Error when creating admin account

Hello. I've setup new manifest project, and when going to the admin panel, it is asking to make a new admin account. However, when I try to create an account /signup is ruturning the following:
[{
"target": {
"email": "me@test.com",
"password": "<hashed password>"
},
"children": [],
"constraints": {
"unknownValue": "an unknown value was passed to the validate function"
}
}]
[{
"target": {
"email": "me@test.com",
"password": "<hashed password>"
},
"children": [],
"constraints": {
"unknownValue": "an unknown value was passed to the validate function"
}
}]
Running the latest version of manifest, and I created the project just using: npx add-manifest Nothing is showing in the console:
āÆ npm run manifest

> my-manifest-project@0.1.0 manifest
> node node_modules/manifest/scripts/watch/watch.js

[nodemon] 3.1.10
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): manifest/*.yml manifest/handlers/*.js
[nodemon] watching extensions: yml,js
[nodemon] starting `node node_modules/manifest/dist/manifest/src/main.js .`

Manifest backend successfully started!

šŸ–„ļø Admin Panel: http://localhost:1111
šŸ“š API Doc: http://localhost:1111/api
āÆ npm run manifest

> my-manifest-project@0.1.0 manifest
> node node_modules/manifest/scripts/watch/watch.js

[nodemon] 3.1.10
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): manifest/*.yml manifest/handlers/*.js
[nodemon] watching extensions: yml,js
[nodemon] starting `node node_modules/manifest/dist/manifest/src/main.js .`

Manifest backend successfully started!

šŸ–„ļø Admin Panel: http://localhost:1111
šŸ“š API Doc: http://localhost:1111/api
I'm using NodeJS 22.13.1 Could anyone offer some guidance on what I have done wrong, or some troubleshooting steps?
6 Replies
brunobuddy
brunobuddy•3mo ago
Hello @Chris Kacerguis, KJ5DJC ! I could not replicate your issue. Can you tell me your OS ? Is it Windows ? What you can do is run npm run manifest:seed to seed the database and a default admin user, and return to the admin panel. If it does not work it may be related to file permissions as Manifest uses by default SQLite which is a DB that is file-based, maybe giving more permissions to the project folder can make it work. Let me know how it goes.
Chris Kacerguis
Chris KacerguisOP•3mo ago
Thanks for getting back to me. I'm using MacOS - 15.5 (24F74), let me try and see what I can find (I did not see the DB) Hello! So I was able to get in...but, dumb question. I don't want to seed any data. How do I go about setting up an empty DB? thank you for your help. I also tried to set "seedCount: 0" for my properties, however it is still "seeding" 50 Setting a seedCount: 1 seems to work, and I can go in and delete those seeds but, in a production environment, this seems problematic. Perhaps a bug? That said, without a seed, the screen that is asking me to create an admin account doesn't work
SebConejo
SebConejo•3mo ago
@brunobuddy I have the same error. I can't create an admin. here is the error provided by the console
No description
SebConejo
SebConejo•3mo ago
I just created an issue on github: https://github.com/mnfst/manifest/issues/441
GitHub
400 Bad Request on POST /api/auth/admins/signup Ā· Issue #441 Ā· mn...
Describe the bug When trying to create a new admin account via the admin panel, for the first time I&#39;m connected, the request always returns a 400 Bad Request response. To Reproduce Steps to re...
brunobuddy
brunobuddy•3mo ago
@Chris Kacerguis, KJ5DJC @SebConejo Fixed ! Thank you for reporting this bug. You can grab the Manifest version 4.12.4 and it will work. Simply run npm i manifest@latest from the project root. Cheers šŸ‘‹ https://github.com/mnfst/manifest/releases/tag/manifest%404.12.3
GitHub
Release manifest@4.12.3 Ā· mnfst/manifest
Patch Changes c74b428: fixed path error on windows with handler files, thanks @akvgergo
Chris Kacerguis
Chris KacerguisOP•3mo ago
thanks jumping on this, and all the hard work.

Did you find this page helpful?