Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Conversation

@juliandavidmr
Copy link

When the jar parameter is undefined then an error occurs:

Uploading app...

An error occurred uploading the build:
TypeError: Cannot read property 'map' of undefined
TypeError: Cannot read property 'map' of undefined
    at Object.getDirectUploadKey (/usr/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/upload.js:272:18)
....

After fixing it looks like this:

Uploading app...

There was an error trying to load your app. :(
  • The error is exactly the following code snippet:
       //==> var 'jar' is undefined
      cookie: jar.map(function(c) {
        return c.key + '=' + encodeURIComponent(c.value);
      }).join('; ')

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant