Skip to content

Config options like --port, --config are ignored since v4.1.1 #2112

Closed
@bugra9

Description

@bugra9

New Issue Checklist

Issue Description

Can't start parse-dashboard with options like --port, --config.

  • parse-dashboard v4.1.0 is dependent on commander.js v6.2.1
  • parse-dashboard v4.1.1 is dependent on commander.js v9.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

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions