Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup is not clear #38

Open
paroxyzm opened this issue Sep 21, 2015 · 3 comments
Open

setup is not clear #38

paroxyzm opened this issue Sep 21, 2015 · 3 comments

Comments

@paroxyzm
Copy link

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'></script>

Thanks!

@Tav0
Copy link

Tav0 commented Feb 19, 2016

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.

elliotec added a commit to elliotec/browserlink.vim that referenced this issue May 25, 2016
Edit readme to add proper documentation on NPM dependencies to install.
@Techienaut
Copy link

Tav0 which node modules?

@Strangehill
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants