https://www.arthurkoziel.com/setting-up-vim-for-yaml/

 

Setting up Vim for YAML editing

Setting up Vim for YAML editing March 23, 2020 In this blog post I'm going to show how to set up Vim for easier YAML editing. You can scroll down to the end for a summary of all installed plugins and config file changes. There's not much to do here. VIM ha

www.arthurkoziel.com

 

YAML 파일을 VI, VIM 으로 다루다 보니, Tab 이 들어가면서 나오는 에러,

error: error parsing deployment.yml: error converting YAML to JSON: yaml: line 10: found character that cannot start any token

 

근데 VIM 으로 보면 Tab 표시가 안나타나서 Mac에서는 위와 같이 Vim 에디터에다가 YAML 유효성을 검증할 수 있는 플러그인을 설치하면 좋다.

jsvc 로 데몬을 띄울려고 했는데 맥에서 아래와 같은 에러가 나온다.


Cannot find any VM in Java Home /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home

Cannot locate JVM library file


해결

http://www.thomaskioko.com/hacks/cannot-find-any-vm-in-java-home-mac/

This is going to be a short one. so let’s get to it.

Today was one of those days you go past page 5 searching for an answer in Google. Hopefully you will not have to go through the same process I did to get a fix.

I have been working with daemons and i hit a snag. The VM/JVM not found snag.

I got the following error when running the daemon: “Cannot find any VM in Java Home /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home
Cannot locate JVM library file”

After scrolling through the web I finally got a fix.

Solution:

Open terminal and type the following commands:

NB: Replace jdk1.7.0_71.jdk with your jdk version.

$ cd /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents
$ sudo ln -s Home/jre/lib Libraries
$ cd Libraries
$ sudo ln -s server/libjvm.dylib libserver.dylib

That’s it. Problem solved :-)

Let me get back to what I love doing, saving the world.

+ Recent posts