ionic-team / ionic-cli

The Ionic command-line interface
MIT License
2k stars 652 forks source link

Unable to create resources #3582

Open allannaranjo opened 6 years ago

allannaranjo commented 6 years ago

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
imhoffd commented 6 years ago

@allannaranjo The server sometimes has issues. Try now?

allannaranjo commented 6 years ago

I have, just now, the response is still a 400 error.

✖ Generating platform resources - 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

On Fri, Sep 14, 2018 at 9:48 AM dwieeb notifications@github.com wrote:

@allannaranjo https://github.com/allannaranjo The server sometimes has issues. Try now?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ionic-team/ionic-cli/issues/3582#issuecomment-421400949, or mute the thread https://github.com/notifications/unsubscribe-auth/ABKDPEOHFcbDyNXeLtn65MOlzIDmPYy6ks5ua8_BgaJpZM4WoaRX .

imhoffd commented 6 years ago

@allannaranjo Oops, just noticed it was a 400 error. Could you please update to the latest Ionic CLI version and try again?