直接创建新项目,win32运行正常,可以运行cocos compile -p web -m release打包,但是运行在浏览器中运行,能打开浏览器,但是却是黑屏。cocos run -p web运行同样效果。网页中左下角出现黄色感叹号,复制信息如下
网页错误详细信息
用户代理: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB7.5; SLCC2; .NET CLR 2.0.50727; Media Center PC 6.0; InfoPath.3; {D9D54F49-E51C-445e-92F2-1EE3C2313240}; .NET4.0C; .NET4.0E)
时间戳: Wed, 10 Dec 2014 06:34:47 UTC
消息: 不能删除 ‘window._p’
行: 57
字符: 1
代码: 0
URI: http://127.0.0.1:8000/frameworks/cocos2d-html5/CCBoot.js
消息: 不能删除 ‘window._p’
行: 57
字符: 1
代码: 0
URI: http://127.0.0.1:8000/frameworks/cocos2d-html5/CCBoot.js
消息: ‘cc.game’ 为空或不是对象
行: 50
字符: 1
代码: 0
URI: http://127.0.0.1:8000/main.js