Skip to content

apostrophe-users:add does not work via cli tool #13

@benirose

Description

@benirose

I know the cli is not the recommended way to running apostrophe tasks, but since it's a documented feature I thought I would log this issue. I tried to run apostrophe apostrophe-users:add admin admin during my project set up, but got an error. It worked when running node app.js ...

$ apos apostrophe-users:add admin admin
 
 Apostrophe  apostrophe-users:add  Running the task [1/1]
WARNING: No session secret provided, please set the `secret` property of the `session` property of the apostrophe-express module in app.js
Incorrect number of arguments.
 
 Apostrophe  apostrophe-users:add  Failed

$ node app.js apostrophe-users:add admin admin
WARNING: No session secret provided, please set the `secret` property of the `session` property of the apostrophe-express module in app.js
prompt: password:  

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions