0

I just installed cocos2d-js on Windows/cygwin and am trying to run things (moonwarrior sample and a new project) with

cocos run -p web

Unfortunately I get the error "There isn't any available platforms". Aside from the incorrect grammar, I can't find out what's gone wrong. I did download/install for "web only", but I'm trying to run web and it's not working.

4

1 回答 1

2

AFAIK,不支持 cygwin 环境cocos2d console

错误消息“没有任何可用的平台”只是抱怨它。

您可能需要更改为 noncygwin 环境。

您可以简单地打开 CMD 并输入cocos run -p web.

于 2014-12-22T06:46:38.130 回答