StephenGrider / ReactStarter

https://www.udemy.com/learn-and-understand-reactjs/
204 stars 186 forks source link

localhost:8000 never displays "Hello" #3

Closed donpinkus closed 9 years ago

donpinkus commented 9 years ago

I'm getting a strange error after cloning and trying to open this project. The browser never seems to finish loading some assets - and it never renders the page.

Also main.js seems unusually large (3.1 MB). I know compiled main.js files can get large, but this seems a bit strange and may be related to why the browser can't load it.

Node version 0.12.7 (latest stable - August 2, 2015)

Steps to reproduce:

  1. Download or clone ReactStarter
  2. $ cd ReactStarter
  3. $ npm install
  4. $ gulp

Terminal Log

Donalds-MacBook-Pro:Desktop · cd imgur-client/
Donalds-MacBook-Pro:imgur-client · npm install
npm WARN package.json react-starter@1.0.0 No repository field.
Donalds-MacBook-Pro:imgur-client · gulp
[17:17:45] Using gulpfile ~/Desktop/imgur-client/gulpfile.js
[17:17:45] Starting 'build'...
[17:17:45] Finished 'build' after 3.89 ms
[17:17:45] Starting 'serve'...
[17:17:45] Starting 'sass'...
[17:17:45] Finished 'sass' after 4.52 ms
[17:17:45] Starting 'watch'...
[17:17:45] Finished 'watch' after 7.52 ms
[17:17:45] Webserver started at http://localhost:8000
[17:17:48] Livereload: file changed: /Users/donaldpinkus/Desktop/imgur-client/main.js
[17:17:48] Livereload: file changed: /Users/donaldpinkus/Desktop/imgur-client/main.js

(the console is hanging here, I believe I should see the message "Livereload: client connected")

Chrome - Network Tab

screen shot 2015-08-02 at 5 24 43 pm

Chrome - Console

screen shot 2015-08-02 at 5 24 10 pm
donpinkus commented 9 years ago

​Odd... just deleted the folder, and cloned the repo again - now everything works.

Let me see if I run into the issue again in the next hour or two - if not I'll delete the issue :)