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

Kongfig apply command Fails #127

Closed
Rzozi opened this issue Mar 2, 2018 · 3 comments
Closed

Kongfig apply command Fails #127

Rzozi opened this issue Mar 2, 2018 · 3 comments

Comments

@Rzozi
Copy link

Rzozi commented Mar 2, 2018

When Trying to apply a config to Kong with the following command:

kongfig apply --path /config.yml --host localhost:8001

I am Getting the error:

/usr/local/lib/node_modules/kongfig/lib/requester.js:70
get,
^

SyntaxError: Unexpected token ,
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (/usr/local/lib/node_modules/kongfig/lib/adminApi.js:11:18)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)

It is the first time i get this error ( using kongfig for more than a month ).

Can someone help

@CyExy
Copy link
Contributor

CyExy commented Mar 2, 2018

It would be useful to know kongfig --version and node --version

Looks like a old node

@CyExy CyExy closed this as completed in 7252975 Mar 2, 2018
@CyExy
Copy link
Contributor

CyExy commented Mar 2, 2018

published [email protected] that targets [email protected] that should fix your issue. Please re-open if the problem persists.

@Rzozi
Copy link
Author

Rzozi commented Mar 5, 2018

Yes it did the trick, Thanks and sorry for not putting all the infos in my first post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants