Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Go Semantic Completion installation failed on a Mac

See original GitHub issue

My machine: MacBook Pro (MacOS Sierra 10.12.6) Editor: Sublime Text (Version 3.1.1 Build 3176) TabNine: Version 1.0.5 Other information: Paid License of TabNine

I tried to run TabNine::sem. It said that the Semantic Completion was enabled. However, when I started to type my Go code, it brought a message in the suggestions drop-down that the installation failed at running this command:

go get -u

I have manually run this command on my Mac and the thing installed without any errors. Not sure where to go look for errors.

Had to revert back by running TabNine::no_sem

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

zxqflcommented, Nov 22, 2018

Great! There is no command, but the runtime configuration is given by ~/Library/Preferences/TabNine/ExampleTabNine.toml plus whatever changes are in ~/Library/Preferences/TabNine/TabNine.toml.

zxqflcommented, Nov 22, 2018

I’m not sure what the issue is, but this will probably fix it:

  1. Find the absolute path to the language server with which go-langserver.
  2. Create a file ~/Library/Preferences/TabNine/TabNine.toml and paste the following in it:
command = "<the absolute path you found>"
args = ["-mode", "stdio", "-gocodecompletion"]
  1. Type TabNine::restart in your text editor.
Read more comments on GitHub >

github_iconTop Results From Across the Web

If an error occurred while updating or installing macOS
The message might say that an error occurred while downloading, preparing, or installing, or that the installer is damaged or could not be ......
Read more >
YouCompleteMe: a code-completion engine for Vim - GitHub
Please do NOT go to #vim on Freenode for support. ... YCM won't work with the pre-installed Vim from Apple as its Python...
Read more >
Is there a way to install golang on Mac OS X via Homebrew by ...
Install Go from the official website in any version you want (you want latest) and not via brew. – Volker · You can,...
Read more >
Fix macOS “Installation failed, An error occurred while ...
Troubleshooting macOS “Installation failed, An error occurred while installing the selected updates.” Errors · Wait a bit · Reboot the Mac · Make ......
Read more >
How to Install Golang on MacOS? - GeeksforGeeks
Steps for Installing Golang on MacOS; Setting up the Go Workspace ... install the package on your system: Step 4: After completing the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found