按《使用 Vim 搭建 JavaScript 开发环境 》
https://spacevim.org/cn/use-vim-as-a-javascript-ide/
做完成以后还是报错。
报错信息
Failed to start server: [Errno 2] No such file or directory: ‘tern’
解决办法
npm -g install tern
执行如下:
$ npm -g install tern [14:46:49]
/usr/local/bin/tern -> /usr/local/lib/node_modules/tern/bin/tern
+ [email protected]
added 30 packages from 125 contributors in 12.826s