GithubHelp home page GithubHelp logo

Comments (19)

nivoc avatar nivoc commented on May 19, 2024

Update: It's most likely not related to the node version.
I tested in 0.10.33, v4 and v4.1.

from react-transform-boilerplate.

nivoc avatar nivoc commented on May 19, 2024

Update: Deleted my hint. It was wrong. It looks to me that it has something to to with remote. On localhost is works for me but on a different machine only sometimes. The "sometimes" makes it hard to find a good lead :-((

from react-transform-boilerplate.

gaearon avatar gaearon commented on May 19, 2024

@nivoc

Hard to say what's wrong without a reproducing example.

from react-transform-boilerplate.

 avatar commented on May 19, 2024

Are you setting a hostname in your config? This is usually what I find I forgot when I'm having issues with my phone connecting to hot reload. But as gaearon mentioned, a repro would help us help you :D

from react-transform-boilerplate.

nivoc avatar nivoc commented on May 19, 2024

@danmartinez101: The hostname was my first guess but in this case it should never work - but it works sometimes :-(. Needle in the haystack: I tried both wildcard and specific hostname ip in the config its not the hostname.

Repo: It happens with the unmodified clone of this repo.

@gaearon: No worries - reproducibility - working on that :-D. ...observing
@paOol does it fail for you all the time or as well only sometimes?

from react-transform-boilerplate.

paOol avatar paOol commented on May 19, 2024

@nivoc My setup is very close to stock. I know it stopped working (all the time) after updating my ArchLinux system and updating node and npm.

Before that, it was working fine.

I'm going to try cloning the newer version of this boilerplate and plugging in my components over to see if the problem still persists.

from react-transform-boilerplate.

nivoc avatar nivoc commented on May 19, 2024

Hmm. For me it was only happening from time to time and I tried to monitor it further to pin it down - but now it is not happening at all anymore. I don't know. If nobody else is experience this issue I would vote for close.

from react-transform-boilerplate.

whatifif avatar whatifif commented on May 19, 2024

I experienced same issue regardless to Node version on Ubuntu 14.04.

But when I changed "http://localhost:3000" to "http://127.0.0.1:3000", it started working.

from react-transform-boilerplate.

quangbuule avatar quangbuule commented on May 19, 2024

@whatifif same with OSX and io.js 2.0, thanks for your hint.

from react-transform-boilerplate.

 avatar commented on May 19, 2024

I think I'm having a similar issue.

First time running this boilerplate (with v4.1.1) and I couldn't for the life of me figure out why nothing was reloading correctly. Came across this issue, and then swapped over to v0.10.32. It now works a treat.

The localhost/127.0.0.1 fix didn't work for me either when testing with v4.1.1.

Unfortunately I wouldn't have a clue how to debug this particular issue but I'm happy volunteer with more tests, if it helps?

from react-transform-boilerplate.

inxilpro avatar inxilpro commented on May 19, 2024

I'm having the same issue. Running the unmodified version of the repo. Tried 0.10.x and 4.x versions of Node, and localhost and 127.0.0.1. This is what I see:

Screen Shot

Has anyone made any progress?

from react-transform-boilerplate.

inxilpro avatar inxilpro commented on May 19, 2024

I also just updated every dependency, including upgrading to React 0.14.0-rc1, tried Node v4.1.2, with same results.

from react-transform-boilerplate.

inxilpro avatar inxilpro commented on May 19, 2024

Gah. My issue was related to an issue with my .babelrc file. Working now.

from react-transform-boilerplate.

 avatar commented on May 19, 2024

@inxilpro what was the issue with the .babelrc file?

from react-transform-boilerplate.

inxilpro avatar inxilpro commented on May 19, 2024

It didn't have the proper setup in extra — see https://github.com/gaearon/react-transform-boilerplate/blob/master/.babelrc

I copied the entire contents of the repo into an existing project, and the .babelrc file didn't get moved over because it was hidden.

from react-transform-boilerplate.

ingro avatar ingro commented on May 19, 2024

I got the same issue, it seems related to Webpack Hot Middleware. On the browser I see that the call to http://localhost:3000/__webpack_hmr is made but gets no response, it gets canceled after ~ 20-30 seconds, and then it keep retrying with the same result.

Trying also with 127.0.0.1 but nothing changed.

from react-transform-boilerplate.

alexander-entin avatar alexander-entin commented on May 19, 2024

could be related to #72

from react-transform-boilerplate.

manveru avatar manveru commented on May 19, 2024

Still seeing the same issue here. I can run it fine when requests come from a browser on localhost.
But once I try opening the page from another machine, it just fails to load that file for some reason.
I tried tracing the network, but there's never a response sent from express. I also added some debugging statements to the middleware that responds to /__webpack_hmr, and it is invoked and tries to write to the client, it's just that the headers or anything else written to that socket never make it out of node.
I'll see if i can find out more, but maybe this gives you an idea of the issue.

from react-transform-boilerplate.

gaearon avatar gaearon commented on May 19, 2024

This issue has become a mix of different unrelated issues so I'll close it.

If you'd like to report a specific issue that's still active again, please do so, but with exact instructions to reproduce. If your example has any code or config changes, please publish it on GitHub as well so we can test it.

from react-transform-boilerplate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.