FamousArchives / examples

[DEPRECATED]
214 stars 74 forks source link

Black screen running any example #33

Closed quanghoc closed 10 years ago

quanghoc commented 10 years ago

I used both middleman app bundle exec middleman server -p 10001 and jekyll serve --watch as I always do to run frontend backendless server. All examples came up with black screen and nothing else. I use this in Mac Chrome version. Any idea?

dmvaldman commented 10 years ago

Does main.js require in an example.js?

quanghoc commented 10 years ago

Yes I kept that file the same and there is a require in main.js

dmvaldman commented 10 years ago

A black screen indicates the CSS is loading, but nothing else would indicate that there's a wrong path in the main.js require statement

zgardner commented 10 years ago

If you open Dev Tools (F12), are there any JavaScript errors in the console?

On Wed, May 7, 2014 at 2:58 PM, David Valdman notifications@github.comwrote:

A black screen indicates the CSS is loading, but nothing else would indicate that there's a wrong path in the main.js require statement

— Reply to this email directly or view it on GitHubhttps://github.com/Famous/examples/issues/33#issuecomment-42475568 .

quanghoc commented 10 years ago

Yeah both css and js not loading. All the path in .zip file I downloaded all messed up.

For example, with require('/src/examples/views/Deck/example.js');, the browser said cannot find this http://0.0.0.0:10001/src/famous/views/Deck.js

That doesn't make sense at all.

Still debugging

quanghoc commented 10 years ago

Oh the /src/famous/ folder is empty in the zip I downloaded.

dmvaldman commented 10 years ago

the zip download doesn't support submodules. Please follow the instructions to download in the Readme