All Questions
4,221
questions
1
vote
1
answer
36
views
ng not found error when building Angular project using dockerfile
I came into a very strange issue yesterday. I have been working on an Angular project and deploying using docker. Everything works fine till yesterday, all of sudden I cannot build the docker image. ...
0
votes
1
answer
20
views
Install peer dependencies in lib automatically on the client side
I am developing a React package/library and have compiled it using Rollup. The package includes several components that need to be used in an Angular app.
I've specified a few packages as ...
1
vote
2
answers
28
views
Angular local library component rendering error (reading 'bindingStartIndex')
I've got a thing to discuss on Angular 12/13.
I'm not a huge frontend hero, and have never dealed with own angular libraries, so may be I'm asking stupid questions, so sorry, but..
Here (github) a ...
0
votes
1
answer
82
views
npm build is failing due to lodash
Using
Node: 16.20.2
Angular: CLI 11.2.5
Typescript: 4.1.5
@types/lodash: 4.14.177
npm build started failing with below exception
Error: node modules/@types/lodash/common/object.d.ts:1026:46 error ...
0
votes
1
answer
48
views
when upgrading to angular 18, i get : While resolving: [email protected] => Found: @angular/[email protected]
when i use the ng update:
We analyzed your package.json and everything seems to be in order. Good work!
but still when i use npm i i get this:
I tried fixing it but nothing works.. dont know how to ...
0
votes
2
answers
47
views
Angular ng build gives error link.parentNode.insertBefore is not a function
I have an Angular v16 app that currently works fine when I serve it on my local machine.
Anyway when I try to build it, it gives me the following response:
✔ Browser application bundle generation ...
0
votes
0
answers
40
views
Registering automapper-ts in Global Context not working - Angular App Reference undefined
After updating to Angular 18 the node package automapper-ts is no longer working.
When trying to register Automapper in global context, app is undefined, thus the Reference to the Angular App cannot ...
1
vote
1
answer
69
views
Angular v18 - 404 on request
I've updated the Angular application to version 18 (18.0.1). I'm facing some issues regarding the http requests on localhost. For most of the requests I'm getting a 404. I'm behind a corporate proxy ...
0
votes
1
answer
58
views
GitHub Action workflow to build and publish Angular 18 app to GitHub Pages fails to deploy
I'm setting up custom GitHub Action workflow to publish Angular app to GitHub Pages. The workflow runs without errors but the result is 404 page.
name: Node.js CI
on:
push:
branches: [ "...
0
votes
1
answer
38
views
How to resolve memory heap fatal error in angular
Currently, I have a fatal error displaying when I start my project. I have tried all possible solutions, so please let me know how can I resolve this.
ng serve
⠴ Generating browser application bundles ...
0
votes
0
answers
33
views
Infinite loop Could not find the '@angular-devkit/build-angular:dev-server'
I have an angular project that I try to build and start. I use yarn. Node version 20.11.1.
I have an infinite loop saying "Could not find the '@angular-devkit/build-angular:dev-server'"
when ...
0
votes
1
answer
123
views
npm unable to resolve dependency tree untill deletion of node_modules
try to understand an error report of npm and fail to find the problem - surprisingly the deletion of the node_modules directory fixed it. We were in the process to update angular to 18+ and nx to 19+.
...
0
votes
0
answers
45
views
angular/cli version mismatch
I'm not used to working with Angular or JavaScript in general, so please forgive me if this is a simple or common problem. I've been searching for a solution for most of the day, but I haven't found ...
2
votes
1
answer
292
views
RangeError: Can not convert <> to a Fragment (looks like multiple versions of prosemirror-model were loaded)
When using the ngx-editor in my application, it used to work fine, but now when running locally (this issue is only present in my local), I get this error when I am trying to Press Enter and change to ...
1
vote
2
answers
286
views
Why npm install cause Error: Cannot find module '@nx/nx-darwin-arm64' in Angular project
I'm recently cloned one Angular Project on my MacBook (M1 Pro Chip), and I want simple run npm install but I'm facing Error: Cannot find module '@nx/nx-darwin-arm64'.
This is error message what I'm ...