For questions regarding programming in Angular specific to version 13. Please include all relevant tags on your question; e.g., [Angular], [TypeScript], etc.
Questions tagged [angular13]
562 questions
4
votes
2 answers
Angular 13 does not work with @nestjs/ng-universal but works correctly with @nguniversal/express-engine
I recently installed angular 13 and tried to install @nestjs/ng-universal with
ng add @nestjs/ng-universal
which worked for previous angular versions but I get Package successfully installed then this error:
*An unhandled exception occurred: Package…

jyms
- 91
- 1
- 7
4
votes
1 answer
Is it possible to use Angular 10 library in Angular 13 application
I have one angular library that is being built in Angular 10.
Now while making a new angular app in Angular 13, we are trying to use that library but it is giving some issues.
I know the compilation has been changed to 100% IVY in Angular 13, but is…

Sahil Julka
- 75
- 1
- 6
3
votes
2 answers
How can I remove the transform style in a draggable element?
Using the example from CDK drag and drop, I want to add a preview of the dragged element with left and top positions without the transform style.
HTML

The Dead Man
- 6,258
- 28
- 111
- 193
3
votes
1 answer
SassError: Hue "100" does not exist in palette. Available hues are: primary, accent, contrast
I am updating from Angular 12 to 13.
Seeing this error, haven't found any solution to it yet. Can someone point me in the right direction?
My package.json
{
"name": "test-app",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng…

DevSay
- 886
- 1
- 14
- 32
3
votes
1 answer
Does ngrx/data provide a way to define a custom base API path for my DefaultDataService and then reference that path?
I'm using Angular 13 with NgRx/data and entities (v 13). I have defined the following data service, in which I wish to override the URL used to retrieve entities ...
export class MyObjectService extends DefaultDataService {
...
…

Dave
- 15,639
- 133
- 442
- 830
3
votes
0 answers
Dotnet core 6 starter app with angular and identity shows certificate error when deployed to Azure App Service
I used the starter application in visual studio for dotnet core 6 and angular with identity and https.
I am working on a mac and I had to set up a certificate for localhost. My app works fine locally. However, after deploying it to Azure App…

mo_maat
- 2,110
- 12
- 44
- 72
3
votes
2 answers
How can I properly configure nginx to work with Angular with using hot reload?
I run my server app with command: ng serve and get error in browser console:
Firefox cannot connect to the wss://dev.domain.com/ws server.
[webpack-dev-server] Trying to reconnect...
or on chrome:
WebSocket connection to 'wss://dev.domain.com/ws'…

skorpions2000
- 39
- 1
- 10
3
votes
0 answers
use require() in .mjs bundles - Angular 13
I recently upgraded my project to Angular 13, I noticed that the new ng-packgr 13 bundles in .mjs extension by default. I have lots of code that uses require() to import some static assets and files. I can change them to import() but is there any…

vp310
- 300
- 1
- 9
3
votes
2 answers
InnerHTML has no property data when using viewContainerRef.createComponent() and then adding data
Problem - I'm passing a ViewContainerRef into my constructor to instantiate a component named 'MemberCardComponent'. Then I'm trying to fill it with input data, but no data is being populated into the innerHTML.
Stackblitz - I've setup this SB…

chuckd
- 13,460
- 29
- 152
- 331
3
votes
0 answers
Dualboot Angular13 and Angular1: cannot downgrade injectable services with parameters
I have dual boot with Angular 13 and Angular 1. The app is built with webpack v5. The tsconfig has key "emitDecoratorMetadata":true. After install I run NGCC on the NPM dependencies.
I cannot use downgraded v13 service with constructor parameters…

mirik
- 356
- 4
- 18
3
votes
3 answers
ViewChild is undefined in angular 13
I am trying to call view child of a child component from parent and getting undefined in the console.
see the image also see the stack blaze for the same
https://stackblitz.com/edit/angular-ivy-k4m2hp?file=src%2Fapp%2Fhello.component.ts
import {…

SmartestVEGA
- 8,415
- 26
- 86
- 139
3
votes
0 answers
After runMicrotasks "You are trying to `import` a file after the Jest environment has been torn down."
Angular13 project
Jest
I get this error endlessly while running a test with Jest:
ReferenceError: You are trying to `import` a file after the Jest environment has been torn down. From…

MStephan
- 131
- 3
3
votes
1 answer
An unhandled exception occurred: The requested module 'sourcemap-codec' does not provide an export named 'decode'
On Upgrading, to angular 13, My build step on pipeline is failing. My initial version was 11, on upgrading to 12 the build worked fine but on upgrading from 12 to 13, it started giving me this error on pipeline. The build is running fine on local…

Vijit Wadhwa
- 55
- 1
- 6
3
votes
1 answer
Nx build - Another process, with id xxx, is currently running ngcc
I have a Nx monorepo that contains 2 projects. When I build these projects locally everything works as expected, but when I try to build the same projects on the build server I get the error
Another process, with id 111, is currently running…

Mr.wiseguy
- 4,092
- 10
- 35
- 67
3
votes
2 answers
"TypeError: element['animate'] is not a function" error on ios device, after upgrading to angular v13
We decided to upgrade our ionic app to angular v13.2.3 and to @ionic/angular v6.0.8. After the upgrade, the app was running without any problems in the browser and on android.
As we tested it on ios the app was starting, but wasn't showing any…

Derivaz Luca
- 141
- 1
- 9