Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49133

Ionic 3 - TypeError: console.log is not a function

$
0
0

@amish_thaker wrote:

I get this weird error that console.log is not a function. I have not clue what’s causing this. It work’s fine in the entire app but throws this error only on a specific screen where I open a modal to edit form data.

core.es5.js:1020 ERROR TypeError: console.log is not a function
at SearchSuburbPage.webpackJsonp.417.SearchSuburbPage.ionViewDidEnter (search-suburb.ts:24)
at ModalImpl.ViewController._lifecycle (view-controller.js:566)
at ModalImpl.ViewController._didEnter (view-controller.js:466)
at OverlayPortal.NavControllerBase._didEnter (nav-controller-base.js:982)
at OverlayPortal.NavControllerBase._transitionFinish (nav-controller-base.js:776)
at nav-controller-base.js:757
at t.invoke (polyfills.js:3)
at Object.onInvoke (core.es5.js:3890)
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3)

Package.json is as follows:

{
“scripts”: {
“clean”: “ionic-app-scripts clean”,
“build”: “ionic-app-scripts build”,
“lint”: “ionic-app-scripts lint”,
“ionic:build”: “ionic-app-scripts build”,
“ionic:serve”: “ionic-app-scripts serve”
},
“config”: {
“ionic_copy”: “./config/copy.config.js”
},
“dependencies”: {
"@angular/common": “4.4.3”,
"@angular/compiler": “4.4.3”,
"@angular/compiler-cli": “4.4.3”,
"@angular/core": “4.4.3”,
"@angular/forms": “4.4.3”,
"@angular/http": “4.4.3”,
"@angular/platform-browser": “4.4.3”,
"@angular/platform-browser-dynamic": “4.4.3”,
"@ionic-native/core": “4.3.0”,
"@ionic-native/network": “^4.3.2”,
"@ionic-native/splash-screen": “4.3.0”,
"@ionic-native/status-bar": “4.3.0”,
"@ionic/storage": “^2.0.1”,
“cordova-android”: “^6.2.3”,
“cordova-plugin-device”: “^1.1.4”,
“cordova-plugin-ionic-webview”: “^1.1.11”,
“cordova-plugin-network-information”: “^1.3.3”,
“cordova-plugin-splashscreen”: “^4.0.3”,
“cordova-plugin-statusbar”: “git+https://github.com/apache/cordova-plugin-statusbar.git”,
“cordova-plugin-whitelist”: “^1.3.1”,
“font-awesome”: “^4.7.0”,
“ionic-angular”: “3.7.1”,
“ionic-plugin-keyboard”: “^2.2.1”,
“ionicons”: “3.0.0”,
“moment”: “^2.19.1”,
“moment-timezone”: “^0.5.13”,
“rxjs”: “5.4.3”,
“sw-toolbox”: “3.6.0”,
“zone.js”: “0.8.18”
},
“devDependencies”: {
"@ionic/app-scripts": “3.0.1”,
"@types/moment-timezone": “^0.5.1”,
“typescript”: “2.3.4”
},
“description”: “An Ionic project”,
“cordova”: {
“plugins”: {
“cordova-plugin-device”: {},
“cordova-plugin-ionic-webview”: {},
“cordova-plugin-splashscreen”: {},
“cordova-plugin-statusbar”: {},
“cordova-plugin-whitelist”: {},
“ionic-plugin-keyboard”: {},
“cordova-plugin-network-information”: {}
},
“platforms”: [
“android”
]
}
}

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 49133

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>