How does one get started using Cocos2D-JS for HTML5 (or is it an abandoned product?)

I’ve been going through the tutorials and documentation for the past few weeks, and I must admit I am having the absolute worst luck at making heads or tails of this. Many of the tutorials seem wildly outdated, or in some cases just flat out incorrect. So I’m reaching out to the community…

I am attempting to develop a project in Cocos2D that will be coded in Javascript, and work in HTML5. I have installed and have been using Cocos Code IDE and I have created a new project, coded up a basic demo, and I can get it all to work fine when using the Debug in Cocos Code IDE (where it opens in the app window). However, I see no way to build an HTML5 project from this.

From there I decided maybe I just did not understand the project structure, so I have been looking at other demos. For reference, I have downloaded the demo at https://github.com/ShengxiangChen/MoonWarriors and attempted to run that. Immediately I see that it gets errors due to missing frameworks - so I download those from https://github.com/cocos2d/cocos2d-html5/tree/0ed19a427267f33da69fd9c5fb675f5cb065dc2e and install them. The demo still does not work however (it shows the loading screen but it freezes at 82% with an error of “Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.”).

So where I am right now - does Cocos2D-JS for HTML5 work? Or is it still a very unfinished beta product? Based on the extreme lack of documentation or functional tutorials, it smells a lot like an abandoned product. Could anyone here give me a hand? Please let me know if the Javascript for HTML5 support is an abandoned product and if I am entirely wasting my time, or could someone point me to a tutorial or getting started guide that says how to do exactly that?

Thank you in advance for any assistance anyone can give!

It’s not abandoned it is updated more or less at the same pace that the c++ counterpart.

Here some links:

-Tutorials: http://www.sonarlearning.co.uk/coursepage.php?topic=game&course=cocos2d-js-v3
-Console commands: http://www.cocos2d-x.org/wiki/Cocos2d-console

Idk the problem with the cocos code ide, did you download the old one? Or you are refering to cocos studio? Idk how cocos studio works but the old one had a world button that compiled for web.

Yet with the commands and a javascript editor or ide you’ll have everything you need for cocos2d-js.