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

version 1.5.x broke something #125

Closed
hreidar opened this issue Mar 1, 2018 · 2 comments
Closed

version 1.5.x broke something #125

hreidar opened this issue Mar 1, 2018 · 2 comments

Comments

@hreidar
Copy link

hreidar commented Mar 1, 2018

Hi, I just updated kongfig via npm and it seems to have boke something:

$ sudo npm install -g [email protected]
/usr/local/bin/kongfig -> /usr/local/lib/node_modules/kongfig/bin/kongfig
/usr/local/lib
└─┬ [email protected] 
  ├─┬ [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ ├── [email protected] 
  │ └── [email protected] 
  ├── [email protected] 
  ├── [email protected] 
  ├─┬ [email protected] 
  │ └─┬ [email protected] 
  │   └── [email protected] 
  ├─┬ [email protected] 
  │ ├─┬ [email protected] 
  │ │ ├─┬ [email protected] 
  │ │ │ └── [email protected] 
  │ │ └── [email protected] 
  │ └── [email protected] 
  ├─┬ [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ └── [email protected] 
  ├── [email protected] 
  ├── [email protected] 
  ├─┬ [email protected] 
  │ └─┬ [email protected] 
  │   └─┬ [email protected] 
  │     └── [email protected] 
  ├── [email protected] 
  └── [email protected] 


$ kongfig apply --help
/usr/local/lib/node_modules/kongfig/lib/cli-apply.js:62
[...config.headers, ..._commander2.default.header].map(h => h.split(':')).forEach(([name, value]) => headers.set(name, value));
                                                                                   ^

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.<anonymous> (/usr/local/lib/node_modules/kongfig/bin/kongfig-apply:4:1)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
@CyExy
Copy link
Contributor

CyExy commented Mar 1, 2018

what node version are you running on?

@CyExy CyExy closed this as completed in 67205db Mar 1, 2018
@CyExy
Copy link
Contributor

CyExy commented Mar 1, 2018

[email protected] should fix your issue.

FYI 4.x End-of-life is very near: node release schedule

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