Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Invalid Version: 1.2.0rc2 #217

Open
LanFly opened this issue Jun 3, 2019 · 0 comments
Open

TypeError: Invalid Version: 1.2.0rc2 #217

LanFly opened this issue Jun 3, 2019 · 0 comments

Comments

@LanFly
Copy link

LanFly commented Jun 3, 2019

Issue summary

UnhandledPromiseRejectionWarning: TypeError: Invalid Version: 1.2.0rc2

Your environment

  • Kong version = 1.2.0rc2
  • Kong Dashboard version = 3.6.0
  • Node version = 8.10.0
  • Npm version = 5.6.0

Issue description

use the shell to start: kong-dashboard start --kong-url http://localhost:8001 --port 80

Current behavior

TypeError: Invalid Version: 1.2.0rc2

Expected behavior

should start correctly.

Steps to reproduce

kong-dashboard start --kong-url http://localhost:8001 --port 80

Good to have

Connecting to Kong on http://localhost:8001 ...
(node:7927) UnhandledPromiseRejectionWarning: TypeError: Invalid Version: 1.2.0rc2
    at new SemVer (/root/.nvm/versions/node/v8.10.0/lib/node_modules/kong-dashboard/node_modules/semver/semver.js:323:11)
    at compare (/root/.nvm/versions/node/v8.10.0/lib/node_modules/kong-dashboard/node_modules/semver/semver.js:614:10)
    at Function.lt (/root/.nvm/versions/node/v8.10.0/lib/node_modules/kong-dashboard/node_modules/semver/semver.js:648:10)
    at request.get.then.then (/root/.nvm/versions/node/v8.10.0/lib/node_modules/kong-dashboard/bin/kong-dashboard.js:161:16)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
(node:7927) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:7927) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant