Problem with cocos2d-js v3.7.1 download

Hi,

I have downloaded from http://www.cocos2d-x.org/filedown/cocos2d-x-3.7.1.zip as advised in https://github.com/cocos2d/cocos2d-x/blob/v3/docs/RELEASE_NOTES.md

This zip supposedly includes what is required for C++, Lua & JS yet when I try to use it in Cocos IDE, Window/Preferences/Cocos/Frameworks/Engine Mode/Javascript setting to the extracted folder I get the following message :

Error
Javascript: This engine was acquired through the git way and cannot find C:\Program Files\cocos2d-x-3.7.1\frameworks\js-bindings\cocos2d-x\external/png. So this engine is not complete. Please run download-deps.py in the root path of the engine.

Note that I have already run download-deps.py and there is no frameworks folder.

The natural question to ask is if Cocos IDE 1.2.0 compatible with 3.7 ?

Please advise what should be done.

Many thanks

Tony

Cocos IDE is 1.2.0 is not compatible with 3.7 - will try version 2.0

I have installed Cocos IDE v2 and I am getting the same error when setting the js engine

Javascript: This engine was acquired through the git way and cannot find C:\Program Files\cocos2d-x-3.7.1\frameworks\js-bindings\cocos2d-x\external/png. So this engine is not complete. Please run download-deps.py in the root path of the engine.

Please advise a solution to this

@TonyH

If you want to use Cocos Code IDE v1.2, you can only use Cocos2d-JS version until v3.6.1 with engine mode.

If you want to use Cocos Code IDE v2.0, please download Cocos from download page and install it.
Then download Cocos framework in Cocos Store with Cocos.

Lastly, you can use framework mode with Cocos Code IDE v2.0.

Thanks Zinitter.

I am using Framework Mode, with framework the unzipped cocos2d-x-3.7.1 folder.

When running new cocos js project created in the idem, main.js is run and I am getting

TypeError: ccs.ObjectExtensionData is undefined - script/studio/jsb_studio_create_apis.js

Any ideas ?

Many thanks

( I only switched editor because I wanted to use the 3.7 javascript WebView )

@TonyH

Where do you get the Cocos2d-x v3.7.1?

Have you try download from Cocos Store in Cocos?

Please try run setup.py in the framework folder.

Downloaded from the store.
I ran download-deps.py and setup.py

In IntelliJ the project contains the following folders
.idea
.settings
res
src

and

and these files

Now I am getting cc.game is undefined within main.js

Any ideas ?

frameworks.cocos2d-html5 itself seems a bit strange since I want to write js for more than just the web ?

@TonyH

I’m not very sure about Cocos Code IDE v2.0 beta issue because i’m still using v1.2.0.

How you create the project?

May be there are errors when creating the project.
You can try create the project with Cocos Code IDE v2.0 / Cocos / Cocos console