When i run ionic serve
i have following error :
[ **INFO** ] Browser window opened to **http://localhost:8101** !
[ng] ℹ 「wdm」: wait until bundle finished: /
[ng] Date: **2020-07-20T08:51:26.059Z**
[ng] Hash: **0f4a36509e9bacfa61fa**
[ng] Time: **25653** ms
[ng] chunk { **default~flightserachdetails-flightserachdetails-module~map-track-befor-map-track-befor-module~tab1-t~2e15eaae** } **default~flightserachdetails-flightserachdetails-module~map-track-befor-map-track-befor-module~tab1-t~2e15eaae.js, default~flightserachdetails-flightserachdetails-module~map-track-befor-map-track-befor-module~tab1-t~2e15eaae.js.map** (default~flightserachdetails-flightserachdetails-module~map-track-befor-map-track-befor-module~tab1-t~2e15eaae) 400 kB **[rendered]**
[ng] chunk { **default~flightserachdetails-flightserachdetails-module~tab1-tab1-module** } **default~flightserachdetails-flightserachdetails-module~tab1-tab1-module.js, default~flightserachdetails-flightserachdetails-module~tab1-tab1-module.js.map** (default~flightserachdetails-flightserachdetails-module~tab1-tab1-module) 700 kB **[rendered]**
[ng] chunk { **default~pages-deprt-info-deprt-info-module~tab2-tab2-module** } **default~pages-deprt-info-deprt-info-module~tab2-tab2-module.js, default~pages-deprt-info-deprt-info-module~tab2-tab2-module.js.map** (default~pages-deprt-info-deprt-info-module~tab2-tab2-module) 27 kB **[rendered]**
[ng] chunk { **es2015-polyfills** } **es2015-polyfills.js, es2015-polyfills.js.map** (es2015-polyfills) 285 kB **[initial]** **[rendered]**
[ng] chunk { **flightsearch-flightsearch-module** } **flightsearch-flightsearch-module.js, flightsearch-flightsearch-module.js.map** (flightsearch-flightsearch-module) 18.8 kB **[rendered]**
[ng] chunk { **flightserachdetails-flightserachdetails-module** } **flightserachdetails-flightserachdetails-module.js, flightserachdetails-flightserachdetails-module.js.map** (flightserachdetails-flightserachdetails-module) 3.44 kB **[rendered]**
[ng] chunk { **home-page-home-page-module** } **home-page-home-page-module.js, home-page-home-page-module.js.map** (home-page-home-page-module) 14.3 kB **[rendered]**
[ng] chunk { **iraqi-iraqi-module** } **iraqi-iraqi-module.js, iraqi-iraqi-module.js.map** (iraqi-iraqi-module) 4.75 kB **[rendered]**
[ng] chunk { **main** } **main.js, main.js.map** (main) 82.8 kB **[initial]** **[rendered]**
[ng] chunk { **map-track-befor-map-track-befor-module** } **map-track-befor-map-track-befor-module.js, map-track-befor-map-track-befor-module.js.map** (map-track-befor-map-track-befor-module) 144 kB **[rendered]**
[ng] chunk { **pages-deprt-info-deprt-info-module** } **pages-deprt-info-deprt-info-module.js, pages-deprt-info-deprt-info-module.js.map** (pages-deprt-info-deprt-info-module) 3.18 kB **[rendered]**
[ng] chunk { **pages-metar-metar-module** } **pages-metar-metar-module.js, pages-metar-metar-module.js.map** (pages-metar-metar-module) 2.58 kB **[rendered]**
[ng] chunk { **polyfills** } **polyfills.js, polyfills.js.map** (polyfills) 237 kB **[initial]** **[rendered]**
[ng] chunk { **runtime** } **runtime.js, runtime.js.map** (runtime) 9.91 kB **[entry]** **[rendered]**
[ng] chunk { **styles** } **styles.js, styles.js.map** (styles) 182 kB **[initial]** **[rendered]**
[ng] chunk { **tab1-tab1-module** } **tab1-tab1-module.js, tab1-tab1-module.js.map** (tab1-tab1-module) 29.3 kB **[rendered]**
[ng] chunk { **tab2-tab2-module** } **tab2-tab2-module.js, tab2-tab2-module.js.map** (tab2-tab2-module) 21 kB **[rendered]**
[ng] chunk { **tab3-tab3-module** } **tab3-tab3-module.js, tab3-tab3-module.js.map** (tab3-tab3-module) 13.3 kB **[rendered]**
[ng] chunk { **tabs-tabs-module** } **tabs-tabs-module.js, tabs-tabs-module.js.map** (tabs-tabs-module) 7.93 kB **[rendered]**
[ng] chunk { **vendor** } **vendor.js, vendor.js.map** (vendor) 4.98 MB **[initial]** **[rendered]**
[ng] chunk { **weather-maps-weather-maps-module** } **weather-maps-weather-maps-module.js, weather-maps-weather-maps-module.js.map** (weather-maps-weather-maps-module) 343 kB **[rendered]**
[ng]
[ng] **ERROR in ./node_modules/@ionic/core/dist/esm-es5/loader.mjs 4:11-19**
**[ng]** Can't import the named export 'a' from non EcmaScript module (only default export is available)
[ng] **ERROR in ./node_modules/@ionic/core/dist/esm-es5/loader.mjs 6:8-21**
**[ng]** Can't import the named export 'b' from non EcmaScript module (only default export is available)
[ng] **ERROR in ./node_modules/@ionic/core/dist/esm-es5/loader.mjs 5:8-15**
**[ng]** Can't import the named export 'g' from non EcmaScript module (only default export is available)
[ng] **ERROR in ./node_modules/@ionic/core/dist/esm-es5/index.mjs 7:0-205**
**[ng]** Can't reexport the named export 'a' from non EcmaScript module (only default export is available)
[ng] **ERROR in ./node_modules/@ionic/core/dist/esm-es5/index.mjs 7:0-205**
**[ng]** Can't reexport the named export 'b' from non EcmaScript module (only default export is available)
[ng] **ERROR in ./node_modules/@ionic/core/dist/esm-es5/index.mjs 7:0-205**
**[ng]** Can't reexport the named export 'c' from non EcmaScript module (only default export is available)
[ng] **ERROR in ./node_modules/@ionic/core/dist/esm-es5/index.mjs 7:0-205**
**[ng]** Can't reexport the named export 'l' from non EcmaScript module (only default export is available)
[ng] **ERROR in ./node_modules/@ionic/core/dist/esm-es5/index.mjs 7:0-205**
**[ng]** Can't reexport the named export 'm' from non EcmaScript module (only default export is available)
[ng] **ERROR in ./node_modules/@ionic/core/dist/esm-es5/index.mjs 7:0-205**
**[ng]** Can't reexport the named export 'p' from non EcmaScript module (only default export is available)
[ng] **ERROR in ./node_modules/@ionic/core/dist/esm-es5/index.mjs 7:0-205**
**[ng]** Can't reexport the named export 't' from non EcmaScript module (only default export is available)
[ng] **ERROR in ./node_modules/@ionic/core/loader/index.mjs 21:0-47**
**[ng]** Can't reexport the namespace object from non EcmaScript module (only default export is ava **ilable)**
[ng] **ERROR in ./node_modules/@ionic/core/dist/esm-es5/overlays-10640d86.js 177:37**
**[ng]** Module parse failed: Unexpected token (177:37)
[ng] You may need an appropriate loader to handle this file type.
[ng] | case 1:
[ng] | _a.trys.push([1, 4, , 5]);
[ng] > return [4 /*yield*/, import('./index-69c37885.js')];
[ng] | case 2:
[ng] | mod = _a.sent();
[ng] **ERROR in ./node_modules/@ionic/core/dist/esm-es5/core-ca0488fc.js 74:11**
**[ng]** Module parse failed: Unexpected token (74:11)
[ng] You may need an appropriate loader to handle this file type.
[ng] | return module[exportName];
[ng] | }
[ng] > return import(
[ng] | /* webpackInclude: /\.entry\.js$/ */
[ng] | /* webpackExclude: /\.system\.entry\.js$/ */
[ng] **ERROR in ./node_modules/@ionic/core/dist/esm/polyfills/index.js 7:18**
**[ng]** Module parse failed: Unexpected token (7:18)
[ng] You may need an appropriate loader to handle this file type.
[ng] |
[ng] | if (!win.customElements || (win.Element && (!win.Element.prototype.closest || !win.Element.prototype.matches || !win.Element.prototype.remove))) {
[ng] > promises.push(import('./dom.js'));
[ng] | }
[ng] |
[ng] ℹ 「wdm」: Failed to compile.
ionic info
Ionic:
Ionic CLI : 5.4.16 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.11.10
@angular-devkit/build-angular : 0.13.10
@angular-devkit/schematics : 7.2.4
@angular/cli : 7.3.9
@ionic/angular-toolkit : 1.4.1
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : none
Cordova Plugins : no whitelisted plugins (0 plugins total)
Utility:
cordova-res : not installed
native-run : not installed
System:
Android SDK Tools : 26.1.1 (/Users/macbook/Library/Android/sdk)
NodeJS : v12.18.2 (/usr/local/bin/node)
npm : 6.14.5
OS : macOS Catalina
Xcode : Xcode 11.5 Build version 11E608c
i did following steps :
ionic repair
: same result .
Remove node_modules
, and package-lock.json
: same result .
any idea please ?
1 post - 1 participant
Read full topic