разбор развертывания: нет такого файла или каталога

Я реализую Stripe Payment в приложении iOS и следую шагам, упомянутым здесь: https://github.com/ParsePlatform/ParseStore< /а>

На шаге 7. запустите «анализ развертывания», он показывает ошибку развертывания: нет такого файла или каталога

Мой файл global.json:

{
  "global": {
    "parseVersion": "1.2.1"
  },
  "applications": {
    "ParseStore": {
      "applicationId": "fZXCNaUOMWiCo7------key---------------------"
        },
    "_default": {
      "link": "ParseStore"
    }
  }
}

Терминальные команды и вывод:

MAC-D05:CloudTest myusername$ parse add
We've changed the way the CLI works.
To save time logging in, you should create an account key.

Type "parse configure accountkey" to create a new account key.
Read more at: https://parse.com/docs/cloudcode/guide#command-line-account-keys
Email: [email protected]
Password (will be hidden): 
1:  ParseStore
2:  otherapp1
3:  otherapp2
4:  otherapp3
5:  lsjdfsljdf
Select an App to add to config: 1
Written config for "ParseStore"
MAC-D05:CloudTest myusername$ parse deploy
We've changed the way the CLI works.
To save time logging in, you should create an account key.

Type "parse configure accountkey" to create a new account key.
Read more at: https://parse.com/docs/cloudcode/guide#command-line-account-keys
Email: [email protected]
Password (will be hidden): 
Uploading source files
Uploading recent changes to scripts...
The following files will be uploaded:
/Users/myusername/Documents/StripeParse/ParseStore/CloudTest/cloud/main.js
Deploy failed with error:
lstat /Users/myusername/Documents/StripeParse/ParseStore/CloudTest    /public: no such file or directory
Will retry in 0 seconds.

Uploading source files
Uploading recent changes to scripts...
The following files will be uploaded:
/Users/myusername/Documents/StripeParse/ParseStore/CloudTest/cloud/main.js
Sorry, deploy failed again with same error.
Will retry in 1 seconds.

Uploading source files
Uploading recent changes to scripts...
The following files will be uploaded:
/Users/myusername/Documents/StripeParse/ParseStore/CloudTest/cloud/main.js
lstat /Users/myusername/Documents/StripeParse/ParseStore/CloudTest/public: no such file or directory

person Mei Lu    schedule 08.01.2016    source источник


Ответы (1)


Создайте пустую папку с именем «public» в папке «CloudTest» и попробуйте развернуть… Это сработает.

person Akshay Phulare    schedule 11.01.2016