browserlink.vim icon indicating copy to clipboard operation
browserlink.vim copied to clipboard

setup is not clear

Open paroxyzm opened this issue 10 years ago • 3 comments

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!

paroxyzm avatar Sep 21 '15 15:09 paroxyzm

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.

Tav0 avatar Feb 19 '16 04:02 Tav0

Tav0 which node modules?

Techienaut avatar Oct 18 '16 20:10 Techienaut

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

Strangehill avatar Aug 19 '17 17:08 Strangehill