Questions tagged [angular14upgrade]
43 questions
12
votes
5 answers
Emit attempted before Angular Webpack plugin initialization after webpack5 build
I'm using Angular 14 and Webpack version: ^5.58.1.
Below is the config:
webpack.congif.js
const webpackPlugin = require('@ngtools/webpack').AngularWebpackPlugin;
module.exports = {
mode: 'development',
devtool: "source-map",
entry: {
main:…

Rohit More
- 121
- 1
- 1
- 4
7
votes
2 answers
Upgrade from Angular 13 to 14 - routing problem -Error: NG04014
I get this error Error: NG04014: Invalid configuration of route 'inspect//': redirectTo and canActivate cannot be used together. Redirects happen before activation so canActivate will never be executed. after upgrading angular 13 to 14. Anyone can…

Zina El Nahel
- 71
- 1
- 2
5
votes
1 answer
should .angular be in gitignore
I recently upgraded Angular from v12 to v14 using the ng update command and did the required modifications manually.
The command added a .angular folder with a cache library that seems huge:
But it didn't add the cache folder to .gitignore.
Should…

Lorraine R.
- 1,545
- 1
- 14
- 39
3
votes
3 answers
Upgrading Angular project from 9.1.12 to 14.0.6 have build issue
After upgrading the angular project from 9.1.12 to 14.0.6 this is the error I see after building the project by running npm run build:
npm run build
> gui@2.0.0 build C:\projects\gui-components
> ng build
⠋ Generating…

user3901737
- 43
- 1
- 5
2
votes
0 answers
ERROR TypeError: (moment__WEBPACK_IMPORTED_MODULE_1___namespace_cache || moment__WEBPACK_IMPORTED_MODULE_1___namespace_cache) is not a function
I was migrating my angular 11 app to angular 14. I had a custom npm package that used moment 2.29.3. i also had the same moment package installed in app also. Now i am getting following console error in the app where i am using the npm package
ERROR…

Akshay Krishnan
- 21
- 1
2
votes
2 answers
angular-gridster2.mjs , Error: export 'debounceTime' (imported as 'debounceTime') was not found in 'rxjs'
I have upgraded my angular version from 12 to 14.
After that I have received many error which I resolved but in the end I for the following error I'm not sure what I should do. The angular-gridster2.mjs is one of the packages that has installed and…

Shide
- 25
- 4
1
vote
0 answers
How to convert existing Angular 14 project to Angular Universal 14 with .netCore Web API integration
I Want to convert the existing (ASP .net core 16 application with Angular 14) project to an ASP .net core application with Angular Universal 14
I know how ASP .net core application work with Angular 14 when we create a .net core project using an…

Krishnaraj P
- 23
- 5
1
vote
0 answers
Getting "unmatched pseudo-class :lang" after updating Angular 14
After updating to angular 14 and making build i am get this error.
1 rules skipped due to selector errors:
.custom-file-input:lang(en)~.custom-file-label -> unmatched pseudo-class :lang
This is Index.html file
I am not understanding what the…

Niket dubey
- 11
- 3
1
vote
0 answers
How to add dynamic method in angular
I have JSON file which is contain some data related to show map. This is the JSON file
"defaultThemeData": {
"mpaStyle": "assets/mapreport/themes/vintage/style/vintageStyle.json",
"mapCSS":…

san test
- 45
- 4
1
vote
0 answers
Using JSZip in an angular 14 library
I am developing multiple websites in angular with similar content and have therefore decided to extract common components and functionality into a separate angular 14 library.
I have previously successfully used the JSZip library in one of these…

sai anand
- 13
- 4
1
vote
1 answer
Why running - `npx npm-run-all` throws "Cannot find module ..."?
I am having issues with running the scripts for my sample angular app. The application was created with Nodejs 16.10.0 and npm version 6.23.2 with Angular CLI 14.2.10. I updated my nodejs to 16.13.0 and npm version 8.1.0. Angular CLI is 15.0.2. The…

GokuSS3
- 123
- 1
- 11
1
vote
0 answers
export 'catchError' was not found in 'rxjs' when tsconfig.json target is ES2020 in angular 14
I have updated my angular library project to angular 14 and while and building my app I am getting
following Error
Command
ng build --base-href /home/ --configuration production
ERROR:
/node_modules/@rcis/common/fesm2020/rcis-common.mjs:2000:39-51…

vikrant
- 11
- 3
1
vote
3 answers
Angular 14 - Routing Module Issue - Invalid configuration of route
I'm having an issue with angular routing after I've upgraded from Angular 13 to Angular 14. I'm getting the following error :
*Uncaught Error: Uncaught (in promise): Error: NG04014: Invalid configuration of route 'homepage/'. One of the following…

John Mentosana
- 13
- 1
- 3
1
vote
0 answers
Angular 14 upgrade - ERROR ReferenceError: process is not defined
After upgrading app from angular 13 to angular 14, the code is compiling successfuly bt I get below error and the app is not loading.
I tried with below link
https://github.com/twilio/twilio-client.js/issues/284
But no luck. Please help me…

Bharathg
- 13
- 4
1
vote
2 answers
Http URL Params "+" symbol replaced with "%2B" (Angular 14)
Recently I upgraded angular app 13 version to 14 version. I see some of the API calls failing which were working fine in angular 13.
API Call (Angular 13)
domain.com/api/v2/todos/count?filter=created+ge+1997-06-21
API Call (Angular…

Arun M
- 133
- 1
- 11