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:
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 adminduring my project set up, but got an error. It worked when runningnode app.js ...