ionic-team / ionic-team/ionic-cli

Unable to create resources

未關閉
#3,582 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
triage
主要語言
TypeScript
星號
2k
分支
682
PR 合併指標
30 天內沒有已合併 PR

描述

**Description:**
I cannot create resources

**Steps to Reproduce:**
ionic cordova resources --force

**Output:**
✔ Collecting resource configuration and source images - done!
✔ Filtering out image resources that do not need regeneration - done!
✔ Uploading source images to prepare for transformations: 2 / 2 complete - done!
✖ Generating platform resources: 12 / 32 complete - failed!
[ERROR] Resource server responded with an error.

This could mean the server is experiencing difficulties right now--please try again later.

Request: POST https://res.ionic.io/api/v1/transform
Response: 400

**My `ionic info`:**

```
Ionic:

ionic (Ionic CLI) : 4.0.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic1 1.3.4
@ionic/v1-toolkit : 1.0.0

Cordova:

cordova (Cordova CLI) : 7.1.0
Cordova Platforms : android 6.2.3, ios 4.5.5

System:

ios-deploy : 2.0.0
ios-sim : 6.1.2
NodeJS : v7.4.0 (/Users/MYUSER/.nvm/v7.4.0/bin/node)
npm : 5.7.0
OS : macOS Sierra
Xcode : Xcode 9.2 Build version 9C40b

Environment:

ANDROID_HOME : /usr/local/opt/android-sdk
```

貢獻指南

開啟貢獻指南

研究方向

Start by reproducing `ionic cordova resources --force` with the supplied Ionic and Cordova versions, then inspect the POST to `https://res.ionic.io/api/v1/transform` and its 400 response. Determine whether the failure is in CLI request construction or the resource service; done means the cause is documented and the reported command behavior is verified.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
node.js, typescript
領域
cli
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。