2

I am using cocos2dx version 3.15, python version is 2.7.12, java version is 1.8.

The problem is when i try to create a web only project using cocos new projectName -l js --no-native command, it gives me this error:

cocos new: error: unrecognized arguments: --no-native.

Nowhere in the docs have i found that this command is deprecated/removed.

I have searched a lot for this error, but nobody seem to be getting the same error.

What may be the possible reason for this?

Thanks.

Abhishek Aryan
  • 19,936
  • 8
  • 46
  • 65

1 Answers1

0
cocos new projectName -l js --no-native

Above command is used for cocos studio, as cocos studio is canceled, the command was removed. There is a PR for the same.

Abhishek Aryan
  • 19,936
  • 8
  • 46
  • 65