axmolengine / axmol

Axmol Engine – A Multi-platform Engine for Desktop, XBOX (UWP) and Mobile games. (A fork of Cocos2d-x-4.0)
https://axmol.dev
MIT License
868 stars 195 forks source link

can't create new project #1323

Closed 10100010010001001010 closed 1 year ago

10100010010001001010 commented 1 year ago

image and some more errors below. This started after reinstalling Windows and Axmol. Before this, I had to give permission to the installation script, because powershell wrote that script not have a digital signature.

rh101 commented 1 year ago

@10100010010001001010 Things would be easier if you followed the bug report template.

What command did you use to try to create a new project?

Also, you can temporarily allow the Powershell scripts for the current session with: Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

10100010010001001010 commented 1 year ago

@rh101, i use this command too (Set-ExecutionPolicy). For creating a project i always use "axmol new -p name -l cpp "

halx99 commented 1 year ago

axmol new -p name -l cpp -d PROJECT DIR ProjectName, the v1.0.1 / 1.x broken due to template config file not update, dev/v2.0.0 should works

10100010010001001010 commented 1 year ago

I'm getting the same errors on version 2.0.0

halx99 commented 1 year ago

the incoming v2.0.1 improve axmol console, can you try latest dev branch?

获取Outlook for Androidhttps://aka.ms/AAb9ysg


From: 10100010010001001010 @.> Sent: Saturday, September 16, 2023 4:54:38 PM To: axmolengine/axmol @.> Cc: Deal @.>; State change @.> Subject: Re: [axmolengine/axmol] can't create new project (Issue #1323)

I'm getting the same errors on version 2.0.0

― Reply to this email directly, view it on GitHubhttps://github.com/axmolengine/axmol/issues/1323#issuecomment-1722181007, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABVHOJ2675SMTE2IMLLOKFDX2VSM5ANCNFSM6AAAAAA4SDTB7I. You are receiving this because you modified the open/close state.Message ID: @.***>

10100010010001001010 commented 1 year ago

@halx99, could you please provide a link, I’m not very familiar with Github and only see Axmol 2.0.0

halx99 commented 1 year ago

@halx99, could you please provide a link, I’m not very familiar with Github and only see Axmol 2.0.0

https://github.com/axmolengine/axmol/archive/refs/heads/dev.zip

10100010010001001010 commented 1 year ago

image @halx99, and this is what i get)

my os - win10. Maybe this is due to the mentioned above system security problems? Although i set CurrentUser and Scope values to bypass by default, when i write axmol without PowerShell, i get an error what the file is not digitally signed

rh101 commented 1 year ago

@10100010010001001010 As the error message shows you, the project name can't be empty.

The command template is this: axmol new -p YOUR.UNIQUE.ID -d PROJECT_PATH -l [cpp|lua] [--portrait] PROJECT_NAME

So, for your case, it would be something like:

axmol new -p UKTS -l cpp UKTS

10100010010001001010 commented 1 year ago

@rh101, It turned out really stupid) I used to create a project this way and didn’t think that the console command had changed) thanks