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

UnhandledPromiseRejectionWarning: TypeError: Invalid Version: 1.0.0rc3 #190

Open
xumengsi opened this issue Nov 25, 2018 · 3 comments
Open

Comments

@xumengsi
Copy link

(node:13040) UnhandledPromiseRejectionWarning: TypeError: Invalid Version: 1.0.0rc3
at new SemVer (C:\Users\xumengsi\AppData\Roaming\npm\node_modules\kong-dashboard\node_modules\semver\semver.js:312:11)
at compare (C:\Users\xumengsi\AppData\Roaming\npm\node_modules\kong-dashboard\node_modules\semver\semver.js:585:10)
at Function.lt (C:\Users\xumengsi\AppData\Roaming\npm\node_modules\kong-dashboard\node_modules\semver\semver.js:619:10)
at request.get.then.then (C:\Users\xumengsi\AppData\Roaming\npm\node_modules\kong-dashboard\bin\kong-dashboard.js:161:16)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:13040) 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:13040) [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.

@dragon9783
Copy link

dragon9783 commented Dec 12, 2018

Same issue to me, maybe kong-dashboard latest image not support kong version 1.0.0rc3.

@Sherlock-Holo
Copy link

Sherlock-Holo commented Dec 22, 2018

I got this

(node:6) UnhandledPromiseRejectionWarning: TypeError: Invalid Version: 1.0.0rc4
at new SemVer (/app/node_modules/semver/semver.js:293:11)
at compare (/app/node_modules/semver/semver.js:566:10)
at Function.lt (/app/node_modules/semver/semver.js:600:10)
at request.get.then.then (/app/bin/kong-dashboard.js:161:16)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:6) 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:6) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections th
at are not handled will terminate the Node.js process with a non-zero exit code.

@illyaMs
Copy link
Contributor

illyaMs commented Feb 22, 2019

Should be the same issue as #194

ThomasG77 added a commit to ThomasG77/kong-dashboard that referenced this issue Mar 19, 2019
Catch rc version, put a warning about rc version
but continue by fixing the version to avoid failure when running `semver.lt` comparison
ThomasG77 added a commit to ThomasG77/kong-dashboard that referenced this issue Mar 19, 2019
Catch rc version, put a warning about rc version
but continue by fixing the version to avoid failure when running `semver.lt` comparison
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

4 participants