TabNine icon indicating copy to clipboard operation
TabNine copied to clipboard

Semantic Completion setup with Yarn Package Manager

Open bloycey opened this issue 7 years ago • 3 comments

When trying to set up semantic completion the setup kept failing because it was trying to run npm install -g yarn flow-bin. I use Yarn instead and thought that installing through yarn would resolve this problem. It didn't. I ended up having to install npm so that the the semantic completion setup would complete.

Not a huge issue but something to consider as many workplaces prefer to use Yarn rather than NPM nowadays. :smile:

bloycey avatar Jun 28 '19 06:06 bloycey

Hmm, install via yarn should work. Did you add the global yarn to path?

athiwatc avatar Jun 29 '19 16:06 athiwatc

I'm fairly sure that I added global, yes. However, I'm open that it might have been user error. :joy:

bloycey avatar Jun 30 '19 21:06 bloycey

TabNine's current behavior is to try the semantic completer command first and only run the install command if the semantic completer fails to start. I'm closing this issue as I think this behavior covers this use case unless you can recommend a different command to start the semantic completer.

zxqfl avatar Jul 01 '19 20:07 zxqfl