打包node-webkit App Game Closure

时间:2014-04-04 10:33:15

标签: javascript node.js node-webkit gameclosure

我试图打包我使用node-webkit开发的Game Closure webapp,但是当我尝试使用nw.exe打开它时,它给了我这个错误:

Uncaught node.js Error 

ReferenceError: GLOBAL is not defined
    at new ENV_node (file:///C:/Users/FRANCE~1.FRA/AppData/Local/Temp/nw8148_5336/index.html:592:18)
    at Function.jsio.setEnv (file:///C:/Users/FRANCE~1.FRA/AppData/Local/Temp/nw8148_5336/index.html:560:11)
    at init (file:///C:/Users/FRANCE~1.FRA/AppData/Local/Temp/nw8148_5336/index.html:571:9)
    at eval (file:///C:/Users/FRANCE~1.FRA/AppData/Local/Temp/nw8148_5336/index.html:1170:10)
    at eval (file:///C:/Users/FRANCE~1.FRA/AppData/Local/Temp/nw8148_5336/index.html:1176:3)

我认为问题可能与一些不起作用的导入(可能是jsio?)有关。 有人可以告诉我发生了什么吗? 显然,如果我在浏览器中打开它(在Chrome和Firefox上测试),该应用程序可以正常运行。

0 个答案:

没有答案
相关问题