Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: App id contains a reserved word, or is not a valid identifier

I just create a project from cli using command :

cordova create Event com.kamlesh.event

and error comes like :

Error: App id contains a reserved word, or is not a valid identifier.

can any one describe it! Thanks.

like image 200
flex Avatar asked Nov 04 '25 16:11

flex


1 Answers

I had this problem and it generally happens when the name of the app you want to create contains invalid characters. It also happens when you create a new Cordova project and seed it with a code in a certain location but the PATH contains invalid chars, exp:

cordova create demo --copy-from=/Users/test/Downloads/cordova place/c4/my_demo

Pay attention to cordova place with the space causing the problem.

like image 186
Ghassen BHS Avatar answered Nov 07 '25 12:11

Ghassen BHS