ionic-team / ionic-v3

The repo for Ionic 3.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
128 stars 85 forks source link

Cordova resources command currently not working #1094

Open maestrelli opened 4 years ago

maestrelli commented 4 years ago

I'm submitting a ... (check one with "x") [x] bug report [ ] feature request

Current behavior:

The ionic cordova resources command is not working anymore:

$ ionic cordova resources
✔ Collecting resource configuration and source images - done!
✔ Filtering out image resources that do not need regeneration - done!
⠹ Uploading source images to prepare for transformations
HTTP Error 503: POST https://res.ionic.io/api/v1/upload

<!DOCTYPE html>
    <html>
      <head>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta charset="utf-8">
        <title>Application Error</title>
        <style media="screen">
          html,body,iframe {
            margin: 0;
            padding: 0;
          }
          html,body {
            height: 100%;
            overflow: hidden;
          }
          iframe {
            width: 100%;
            height: 100%;
            border: 0;
          }
        </style>
      </head>
      <body>
        <iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe>
      </body>
⠧ Uploading source images to prepare for transformations
ˆC
$

I have to kill the command after the error because nothing else happens.

Expected behavior:

The command should work. It was working last week.

Steps to reproduce:

Just run the command.

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

$ ionic info

Ionic:

   ionic (Ionic CLI)  : 4.12.0
   Ionic Framework    : ionic-angular 3.9.9
   @ionic/app-scripts : 3.2.4

Cordova:

   cordova (Cordova CLI) : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms     : android 8.1.0, ios 5.0.1
   Cordova Plugins       : no whitelisted plugins (15 plugins total)

System:

   Android SDK Tools : 26.1.1 (/Users/wagner/Library/Android/sdk)
   ios-deploy        : 1.9.4
   ios-sim           : 8.0.2
   NodeJS            : v12.13.0 (/Users/wagner/.nvm/versions/node/v12.13.0/bin/node)
   npm               : 6.13.0
   OS                : macOS Catalina
   Xcode             : Xcode 11.2.1 Build version 11B500

$