yaml-language-server | Language Server for YAML Files | Runtime Evironment library
kandi X-RAY | yaml-language-server Summary
kandi X-RAY | yaml-language-server Summary
Supports JSON Schema 7 and below. Starting from 1.0.0 the language server uses eemeli/yaml as the new YAML parser, which strictly enforces the specified YAML spec version. Default YAML spec version is 1.2, it can be changed with yaml.yamlVersion setting.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of yaml-language-server
yaml-language-server Key Features
yaml-language-server Examples and Code Snippets
Community Discussions
Trending Discussions on yaml-language-server
QUESTION
I would just like to understand what's happening below. I am using MacOs and recently switched from bash to zsh. And then I installed jupyterlab-lsp. Can you please enlighten me?
...ANSWER
Answered 2020-Jan-13 at 07:46The issue is because jupyter server is unable to find the language servers. As in my case, jupyter is installed and maintained using conda environment(miniconda) under /opt/miniconda3/, whilst my nodejs is sitting under /usr/local/. Ideally, if you are already using conda manager, you will want to uninstall nodejs completely and reinstall it using conda. Otherwise, remove the entire anaconda/conda and then reinstall python (https://www.python.org/downloads/release/python-381/) and jupyter using either pip or brew depending how/where you installed nodejs.
I was able to resolve my issue following below steps:
1.) Completely uninstall node js. I was able to do it by running nvm uninstall
or if you are using homebrew, run brew uninstall node
and then rm -f /usr/local/bin/npm
on terminal. Additionally, you can follow below reference: How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)
2.) Reinstall nodejs. conda install -c conda-forge nodejs
3.) Install the language servers. See reference: https://github.com/krassowski/jupyterlab-lsp/blob/master/LANGUAGESERVERS.md#installing-language-servers
4.) Restart terminal and run jupyter lab.
Now this is the best answer that I have that was able to resolve my issue.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install yaml-language-server
Fork and clone this repository
Install the dependencies cd yaml-language-server $ yarn install
Build the language server $ yarn run build
The new built server is now located in ./out/server/src/server.js. node (Yaml Language Server Location)/out/server/src/server.js [--stdio]
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page