jaxbot / browserlink.vim

Live browser editing for Vim
MIT License
711 stars 38 forks source link

setup is not clear #38

Open paroxyzm opened 9 years ago

paroxyzm commented 9 years ago

Hello! And thanks for a wonderful vim plugin!

I'm not new to vim, but right now I'm trying to get my way into web programming. I don't know any js yet, not to mention node and tampermonkey/userscripts. So I'm on a starting position ready to go with my favourite editor, yet unable to make browserlink.vim work in vim. So that's why I request to include some basic instructions how to make it work with node and tampermonkey.

My OS is ubuntu 14.04. I have installed node.js I have installed browserlink.vim with Vundle

And included this in my index.html script src='http://127.0.0.1:9001/js/socket.js'>

Thanks!

Tav0 commented 8 years ago

You are missing the node modules. He didn't pushed all the modules that are needed for this to work. So what you need to do is create a package.json with websocket, http, fs, and path and npm install those. After that you should be good to go!

Oh! One more thing, it could also be that the port that he uses 9001, you can't use it, but most likely is the node modules.

Techienaut commented 8 years ago

Tav0 which node modules?

Strangehill commented 7 years ago

Where should the package.json go? at the 'browserlink' directory?