question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Production build contains await operator (@ionic/core). Brokes down all android < 7.1

See original GitHub issue

Bug Report

Ionic Info

Ionic:

   ionic (Ionic CLI)          : 4.0.2
   Ionic Framework            : @ionic/angular 4.0.0-beta.1
   @angular-devkit/core       : 0.7.4
   @angular-devkit/schematics : 0.6.1
   @angular/cli               : 6.1.4
   @ionic/ng-toolkit          : 1.0.6
   @ionic/schematics-angular  : 1.0.5

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : android 7.1.1, ios 4.5.4

System:

   NodeJS : v10.9.0 (D:\Program Files\nodejs\node.exe)
   npm    : 6.2.0
   OS     : Windows 10

Environment:

   ANDROID_HOME : not set

Describe the Bug @ionic/core/dist/colleciton/utils/framework contains await operator in production build! damn

Bad part of it - this files added automatically by ionic/cli, not by developer.

Steps to Reproduce Steps to reproduce the behavior:

  1. Use IonicModule in your angular app
  2. Add any stencil component (ion-scroll for example)
  3. Run on Android < 7.1.1

Related Code none

Expected Behavior All compiled source codes should be transpiled down to es5 (“target”: “es5”` in tsconfig.json). @angular/cli don’t transpile js code.

Additional Context none

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
manucorporatcommented, Sep 25, 2018

Nice! going to close this issue, and continue tracking the ionic-native/push one in the other repo, thanks for reporting the issue!

0reactions
ionitron-bot[bot]commented, Oct 25, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Production build contains await operator (@ionic/core ...
Ionic Info ; Describe the Bug @ionic/core/dist/colleciton/utils/framework contains await operator in production build! damn ; Steps to Reproduce
Read more >
await - JavaScript - MDN Web Docs
The await operator is used to wait for a Promise and get its fulfillment value. It can only be used inside an async...
Read more >
Release Notes | Firebase - Google
This release includes a fix to the Linux x86 build, and updates to the SDK's Android and iOS dependencies. November 17, 2022. SDK...
Read more >
await operator - asynchronously wait for a task to complete
The await operator suspends evaluation of the enclosing async method until the asynchronous operation represented by its operand completes. When ...
Read more >
webpack referenceerror: module is not defined in es module scope ...
Note: if you have any advice for creating dev env, i will be thankful ... npm install --save core-js npm install --save regenerator-runtime....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found