I create a project of tabs template of ionic angular, but when I hit ionic serve it says:
ng.cmd run app:serve --host=localhost --port=8100
[ng] - Generating browser application bundles (phase: setup)…
[ng] √ Browser application bundle generation complete.
[ng] Initial Chunk Files | Names | Raw Size
[ng] vendor.js | vendor | 1.58 MB |
[ng] polyfills.js | polyfills | 336.76 kB |
[ng] styles.css, styles.js | styles | 276.27 kB |
[ng] runtime.js | runtime | 12.61 kB |
[ng] main.js | main | 9.35 kB |
[ng]
[ng] | Initial Total | 2.20 MB
[ng]
[ng] Lazy Chunk Files | Names | Raw Size
[ng] src_app_tabs_tabs_module_ts.js | tabs-tabs-module | 15.84 kB |
[ng] src_app_tab1_tab1_module_ts.js | tab1-tab1-module | 8.13 kB |
[ng] src_app_tab3_tab3_module_ts.js | tab3-tab3-module | 8.13 kB |
[ng] src_app_tab2_tab2_module_ts.js | tab2-tab2-module | 8.13 kB |
[ng] common.js | common | 6.40 kB |
[ng]
[ng] Build at: 2023-09-24T07:35:52.904Z - Hash: 2c5a43253a09fa2f - Time: 7976ms
[ng]
[ng] ./node_modules/@angular/common/fesm2022/common.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/tools/babel/webpack-loader.js):
[ng] TypeError: Cannot redefine property: File
[ng]
[ng] ./node_modules/@angular/forms/fesm2022/forms.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/tools/babel/webpack-loader.js):
[ng] TypeError: Cannot redefine property: File
[ng]
[ng] ./node_modules/@angular/platform-browser/fesm2022/platform-browser.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/tools/babel/webpack-loader.js):
[ng] TypeError: Cannot redefine property: File
[ng]
[ng] ./node_modules/@angular/router/fesm2022/router.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/tools/babel/webpack-loader.js):
[ng] TypeError: Cannot redefine property: File
[ng]
[ng] ./node_modules/@ionic/angular/fesm2020/ionic-angular.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/tools/babel/webpack-loader.js):
[ng] TypeError: Cannot redefine property: File
[ng]
[ng]
[ng] × Failed to compile.
[INFO] Development server running!
Local: http://localhost:8100
Use Ctrl+C to quit this process
[INFO] Browser window opened to http://localhost:8100!
and in the localhost:8100 writted Cannot Get /