Comments (11)
Looking at the line
http://localhost/socket.io/?EIO=3&transport=polling&t=1422024891424-0
it appears the port (1337 in this example) is missing.
from livedown.
I'm having the same exact problem as well. After digging through the code it appears that index.html is being sent without adding the port number in the io.connect() call. This is weird as this was working for me last week and going through the code I can't find anything obvious. However, I do have a patch f48be49 that fixes this.
from livedown.
I'm experiencing this as well (through the use of the vim plugin) and am a little wary of not knowing the cause. It seems like this broke for at least the three of us for no reason. I haven't updated the package or plugin and am curious about why it stopped working all of a sudden. Maybe it has to do with side effects relating an upgrade of one of the dependencies?
from livedown.
I think the use of ^
's in package.json
is the problem. I just removed them all in my local copy of livedown and ran npm install to get the exact version numbers. Things are back to normal now. Rooting through now to figure out exactly which dependency is causing the issue.
from livedown.
So the culprit is socket.io
version 1.3.2, which really just updates socket.io-client
to it's version 1.3.2. @mgrubb, your patch probably addresses that exact issue, but I can't look at it at this moment.
In the mean time, my workaround is to specify the exact version number in the livedown package.json
where it's installed. In my case:
$ cd ~/.nvm/v0.10.28/lib/node_modules/livedown
$ vim package.json
# edit the version of socket.io to be "1.3.1", save and quit
$ rm -rf node_modules
$ npm install
from livedown.
I wish what I did was as elegant as that :)
I just hacked a template handler into server.js to substitute the url
into index.html.
Jonathan Freeman mailto:[email protected]
January 26, 2015 at 5:28 PMSo the culprit is |socket.io| version 1.3.2, which really just updates
|socket.io-client| to it's version 1.3.2
socketio/socket.io-client@ea9b2b7.
@mgrubb https://github.com/mgrubb, your patch probably addresses
that exact issue, but I can't look at it at this moment.In the mean time, my workaround is to specify the exact version number
in the livedown |package.json| where it's installed. In my case:|$ cd ~/.nvm/v0.10.28/lib/node_modules/livedown
$ vim package.jsonedit the version of socket.io to be "1.3.1", save and quit
$ rm -rf node_modules
$ npm install
|—
Reply to this email directly or view it on GitHub
#9 (comment).
from livedown.
@shime I see you've fixed this with #11
When you have a chance would you please tag a new release and push it to npm?
Thanks.
from livedown.
Sure, thanks for the ping!
from livedown.
@shime thanks for the quick response, I see 1.0.8 tagged here on GitHub but I'm still seeing 1.0.7 on
npm
from livedown.
@salcode forgot to publish it on NPM again. It's up now, thanks!
from livedown.
@shime Awesome, thank you.
from livedown.
Related Issues (20)
- TypeError: TokenConstructor is not a constructor HOT 4
- Proposal to add functionality to view files HOT 2
- Usign livedown with Restructured text ? HOT 1
- Mermaid diagrams HOT 4
- Add support for previewing HTML?
- XSS
- Bootstrap call from emacs HOT 1
- install ERR HOT 2
- livedown stop not working HOT 1
- Upgrade markdown-it-github-headings
- add a command line option to actually export instead of preview HOT 1
- Propose: support directory as path HOT 2
- Livedown doesn't recognize links to file urls
- live updates not working on firefox HOT 3
- Allow markdown-it plugins
- no longer opens Firefox HOT 1
- Markdeep integration
- Force page reload/refresh
- Ability to scroll to a particular line [feature request]
- provide installation mechanism via homebrew
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from livedown.