Closed iozcelik closed 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:
Does this happen after running devkit init
for a new game?
Yes, after installation of devkit, I want to try hello world app. So I typed devkit init helloworld then devkit serve but nothing works.
@mgh any ideas? I think you were building on windows recently.
Yes, I am using Windows 8.1.
FYI,
I've run devkit init helloworld
, and then devkit serve
.
I'm using Mac OS X 10.10.5
For information, I can show my apps on git bash like this:
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
Possible this problem couse my user folder name :: \Users\Vívó Péter .. so it is contain space and few isin't ascii char.
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
@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!
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.
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.
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?
@mgh It works after npm upgrade -g devkit
. Thank you.
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](https://cloud.githubusercontent.com/assets/10682780/9631771/d995906e-518b-11e5-8807-08455ff798fc.PNG)