atom-youcompleteme
atom-youcompleteme copied to clipboard
[YCM] TypeError
TypeError: Key must be a buffer at new Hmac (crypto.js:91:16) at Object.Hmac (crypto.js:89:12) at generateHmac (/Users/al-nibras/.atom/packages/you-complete-me/lib/handler.coffee:102:12) at signMessage (/Users/al-nibras/.atom/packages/you-complete-me/lib/handler.coffee:113:65) at /Users/al-nibras/.atom/packages/you-complete-me/lib/handler.coffee:164:7
this issue is still not fixed even after applying this commit: https://github.com/Qusic/atom-youcompleteme/blob/master/lib/handler.coffee#L89-L98
I am also having this issue on macOS with Atom 1.19.0.
problem still exists in Atom 1.21.0 in Linux Mint 17
I had the same problem in Ubuntu 16.04, Atom 1.24.1.
This is how it is solved for me:
- Clone the Valloric/ycmd repo and build as instructed.
- In Atom you-complete-me settings, put the path of the built ycmd as the Ycmd path setting.
- If necessary: specify the Python executable option as the python you've built Ycmd.