Closed
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest versions of Parse Server and Parse Dashboard.
Issue Description
Can't start parse-dashboard with options like --port, --config.
- parse-dashboard
v4.1.0
is dependent on commander.jsv6.2.1
- parse-dashboard
v4.1.1
is dependent on commander.jsv9.0.0
.
https://github.com/tj/commander.js/releases/tag/v7.0.0
Breaking: options are stored safely by default, not as properties on the command (tj/commander.js#1409)
- this especially affects accessing options on program, use
program.opts()
- revert behaviour with .storeOptionsAsProperties()
Steps to reproduce
./node_modules/.bin/parse-dashboard --port 4041
Actual Outcome
The dashboard is now available at http://0.0.0.0:4040/
Expected Outcome
The dashboard is now available at http://0.0.0.0:4041/
Environment
Dashboard
- Parse Dashboard version:
4.4.1
- Browser (Safari, Chrome, Firefox, Edge, etc.):
Firefox
- Browser version:
99.0.1
Server
- Parse Server version:
5.2.1
- Operating system:
Arch Linux
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc):
Local
Database
- System (MongoDB or Postgres):
MongoDB
- Database version:
5.0.8
- Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc):
Local