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 #37

Open
pamplemoussemk2 opened this issue Mar 11, 2021 · 2 comments
Open

UnhandledPromiseRejectionWarning #37

pamplemoussemk2 opened this issue Mar 11, 2021 · 2 comments
Labels
infos needed Extra informations are needed

Comments

@pamplemoussemk2
Copy link

Hello,
I was happy to find today this project. Unfortunately, it doesn't work for me. I just dist-upgraded to Ubuntu 20. glci writes these errors:

$ glci
glci (v0.4.3)

(node:3812) UnhandledPromiseRejectionWarning: TypeError: Cannot use 'in' operator to search for 'local' in p
    at main$1 (/home/b/.config/yarn/global/node_modules/glci/dist/cli.min.js:528:19)
(node:3812) 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:3812) [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.

Is it a known issue ?
Regards.

@mdubourg001
Copy link
Owner

Hello, could you please provide your .gitlab-ci.yml file ?

Thanks for reporting this 👌

@mdubourg001 mdubourg001 added the infos needed Extra informations are needed label Mar 11, 2021
@theoretick
Copy link

Just ran into this and with

glci/index.js

Line 188 in 60686ea

throw "Only 'local' includes are supported at the moment.";
looks like only include: local is supported at the moment so any CI configuration that use include:remote, include:template, etc will throw here.

Perhaps it's worth documenting that limitation at the top-level of the README?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infos needed Extra informations are needed
Projects
None yet
Development

No branches or pull requests

3 participants