【问题标题】:Create new PhoneGap project error创建新的PhoneGap项目错误
【发布时间】:2013-01-31 16:55:19
【问题描述】:

我尝试使用 PhoneGap 2.3.0

iOS 中创建PhonaGap 的项目

我在终端中写下这一行(在 Bin 目录中,比如这里说:PhoneGap 2.3.0

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

我得到了很多错误:

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

我有一长串错误,都说没有这样的文件或目录

为什么?

【问题讨论】:

  • 目录/Users/apple/Documents/Cordova23/HelloWorld是否存在?

标签: ios cordova


【解决方案1】:

在发出“create”命令之前创建目录 ~/Documents/Cordova23/HelloWorld。

在终端窗口中输入:

mkdir -p ~/Documents/Cordova23/HelloWorld

【讨论】:

  • @Stavash .. 我正在尝试在 www/index.html 文件中的 html 文件中显示文本,但只有 Cordova 徽标和 Apache Cordova 和 Device Ready 即将到来,无法弄清楚它为什么会出现......
  • 对不起@James,我不知道是什么问题
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2020-01-12
  • 1970-01-01
  • 1970-01-01
  • 2023-03-20
  • 1970-01-01
相关资源
最近更新 更多