play-co / devkit

HTML 5 game platform for browser and mobile
http://docs.gameclosure.com
622 stars 126 forks source link

devkit serve doesnt shown apps #242

Closed iozcelik closed 8 years ago

iozcelik commented 8 years ago

Hello, everything is fine at setup for me until try to install helloworld app. I typed devkit serve and open my localhost. But my browser is empty. I dont understand why. Has anybody an idea? capture

dongminkim commented 8 years ago

I have the same problem. I had been following the tutorial, then I have got an empty screen on my chrome. Chrome's dev console shows this error: screenshot

jwilm commented 8 years ago

Does this happen after running devkit init for a new game?

iozcelik commented 8 years ago

Yes, after installation of devkit, I want to try hello world app. So I typed devkit init helloworld then devkit serve but nothing works.

jwilm commented 8 years ago

@mgh any ideas? I think you were building on windows recently.

iozcelik commented 8 years ago

Yes, I am using Windows 8.1.

dongminkim commented 8 years ago

FYI,

I've run devkit init helloworld, and then devkit serve. I'm using Mac OS X 10.10.5

iozcelik commented 8 years ago

For information, I can show my apps on git bash like this: capture

Pengeszikra commented 8 years ago

I have same error ... ( windows 8 )

at chrome console found ff throw some error

ff.js:411 Uncaught TypeError: std.uri.relativeTo is not a functionexports.get @ cssLoad.js:39GLOBAL.overview.Overview.parent @ apps.js:28SuperGroup._execNextStep @ ff.js:365(anonymous function) @ ff.js:443

Pengeszikra commented 8 years ago

Possible this problem couse my user folder name :: \Users\Vívó Péter .. so it is contain space and few isin't ascii char.

Pengeszikra commented 8 years ago

fix at devkit\node_modules\squill\cssLoad.js line 39

var url = ( std && std.uri && std.uri.relativeTo ) ? std.uri.relativeTo(opts.url, window.location.toString()) :  window.location.origin+opts.url 
mgh commented 8 years ago

@iozcelik @dongminkim @Pengeszikra can you try the latest devkit version and see if that fixes the problem? Run npm upgrade -g devkit to upgrade. Thanks!

iozcelik commented 8 years ago

Yes, and thanks. I handled this problem and pyhton problem. But now, I have new one. warning MSB8003: Could not find WindowsSDKDir variable from the registry. TargetFrameworkVersion or PlatformToolset may be set to an invalid version number. I try to solve this issue.

iozcelik commented 8 years ago

Finally, it's done! I use VS2015 so some options are not coming by default. So I modify my VS2015. Then I try and it is work. Thanks everyone.

mgh commented 8 years ago

good to hear you got it working! I just pushed a new devkit version also, v3.1.1, that actually fixes the uri issue. @lozcelik, is there anything in your VS2015 config that might be relevant for others?

dongminkim commented 8 years ago

@mgh It works after npm upgrade -g devkit. Thank you.