Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vendor.js: Line 47032 : Uncaught TypeError: undefined is not a function #16873

Closed
qdd188 opened this issue Dec 24, 2018 · 5 comments
Closed

vendor.js: Line 47032 : Uncaught TypeError: undefined is not a function #16873

qdd188 opened this issue Dec 24, 2018 · 5 comments
Labels

Comments

@qdd188
Copy link

qdd188 commented Dec 24, 2018

Bug Report

Ionic version:

[x] 4.x

Current behavior:
Running basic blank app on android 5.1.1(API 22),throws vendor.js: Line 47032 : Uncaught TypeError: undefined is not a function.

Expected behavior:
Android 8.0 is works well.

Steps to reproduce:

  1. ionic start myApp blank
  2. ionic cordova run android -l -c

Other information:
vendor.js: Line 47032 : Uncaught TypeError: undefined is not a function

Ionic info:
"@ionic-native/core": "5.0.0-beta.21",
"@ionic-native/splash-screen": "5.0.0-beta.21",
"@ionic-native/status-bar": "5.0.0-beta.21",
"@ionic/angular": "4.0.0-rc.0",
"cordova-android": "7.1.4",

System
npm:6.4.1
node:v10.14.2

@ionitron-bot ionitron-bot bot added the triage label Dec 24, 2018
@paulstelzer
Copy link
Contributor

Please add repo so we can check.

@paulstelzer paulstelzer added the needs: reply the issue needs a response from the user label Dec 24, 2018
@ionitron-bot ionitron-bot bot removed the triage label Dec 24, 2018
@qdd188
Copy link
Author

qdd188 commented Dec 24, 2018

@ionitron-bot ionitron-bot bot added triage and removed needs: reply the issue needs a response from the user labels Dec 24, 2018
@paulstelzer
Copy link
Contributor

paulstelzer commented Dec 24, 2018

You have not enabled the polyfills which is needed for Angular! Open your polyfills.ts and activate the following and try again:

/** IE9, IE10 and IE11 requires all of the following polyfills. **/
import 'core-js/es6/symbol';
import 'core-js/es6/object';
import 'core-js/es6/function';
import 'core-js/es6/parse-int';
import 'core-js/es6/parse-float';
import 'core-js/es6/number';
import 'core-js/es6/math';
import 'core-js/es6/string';
import 'core-js/es6/date';
import 'core-js/es6/array';
import 'core-js/es6/regexp';
import 'core-js/es6/map';
import 'core-js/es6/weak-map';
import 'core-js/es6/set';
import 'core-js/es6/reflect';

@paulstelzer paulstelzer added needs: reply the issue needs a response from the user and removed triage labels Dec 24, 2018
@qdd188
Copy link
Author

qdd188 commented Dec 25, 2018

Perfect
Thank you so much @paulstelzer
This really helps a lot!

@qdd188 qdd188 closed this as completed Dec 25, 2018
@ionitron-bot ionitron-bot bot added triage and removed needs: reply the issue needs a response from the user labels Dec 25, 2018
@ionitron-bot
Copy link

ionitron-bot bot commented Jan 24, 2019

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.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Jan 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants