Hodaya Shalom
Hodaya Shalom

Reputation: 4417

Create new PhoneGap project error

I try to create project of PhonaGap in iOS With PhoneGap 2.3.0

I Write this line in the termminal (In Bin directory like say here:PhoneGap 2.3.0)

./create ~/Documents/Cordova23/HelloWorld org.apache.cordova.HelloWorld HelloWorld

and i get a lot of errors:

cp: /Users/apple/Documents/Cordova23/HelloWorld: No such file or directory
cp: /Users/apple/Documents/cordova-2.3.0/cordova-ios/bin/templates/project/: unable to copy extended attributes to /Users/apple/Documents/Cordova23/HelloWorld: No such file or directory

I hava a long list of error, all say no such file or directory,

Why?

Upvotes: 0

Views: 641

Answers (1)

Stavash
Stavash

Reputation: 14304

Create the directory ~/Documents/Cordova23/HelloWorld before issuing the "create" command.

Type this in your terminal window:

mkdir -p ~/Documents/Cordova23/HelloWorld

Upvotes: 3

Related Questions