18 questions
0
votes
1
answer
237
views
npm ci hangs in esbuild postinstall script after upgrading to Angular 20
After upgrading from Angular 17 to Angular 20, my build script on Jenkins hangs on the npm ci command. I changed the script to npm ci --loglevel verbose instead, and noticed that the last output ...
2
votes
1
answer
426
views
Monaco-editor Not allowed to load local resource: Codicon.ttf
When trying to load the Monaco editor via the Webpack plugin I get the following error:
Not allowed to load local resource: file:///C:/{***}/node_modules/monaco-editor/esm/vs/base/browser/ui/codicons/...
0
votes
1
answer
479
views
New nx angular component doesn't trigger a build on changes
Using Angular v17.3.0 and "@nx/angular": "18.2.1" in our app.
Perhaps there's something I'm missing in the nx library, but in terms of "watching" for changes - I have ...
1
vote
0
answers
590
views
Nx Angular Server Side Rendering
After I setup SSR for my Angular 18 project, it properly worked. The issue lies on prerender option in project.json. When I change it to false, the project builds without any problem. But when it's ...
0
votes
1
answer
480
views
Nx module boundaries error on @angular/core
I have created a Nx Standalone Angular project and then created a local library, as described in the official documentation.
I am trying to add a lint rule to enforce module boundaries. I am using the ...
0
votes
0
answers
129
views
The dependency of remote app in micro frontend 'is not defined'
I develop a web app that uses NX, Angular and Micro-Frontend architecture.
I call the container: Shell, and the remote app: MF-1
In the MF-1 I use Snapsvg. And then import MF-1 to Shell then it ...
1
vote
0
answers
574
views
@NX/Angular App works on other browser, but not on safari
I have an @nx/angular app that works perfectly on Chrome browser. However, it doesn't work on safari browser. No error is dumped on the Javascript Console. the closest thing to an error that is ...
4
votes
0
answers
354
views
Code Smell for "Dependencies should be explicit" in NX Project
Project Structure
I have structured my Angular application in an NX project. Within NX the code is structured in libraries.
Nx automatically creates TypeScript path mappings in the tsconfig.base.json ...
1
vote
0
answers
152
views
Unable to use Angular Core library when using nx
I am trying to migrate my app to nx app. I am almost at the end, but the problm is that whenever I add Angular module or Angular component to that library, I get following error:
ESLint: Buildable ...
2
votes
0
answers
820
views
NX Monorepo does not work the hot reload for library
recently I'm working with NX and have a angular library that used in a component inside a microfrontend. I need this component updated when I make changes in this library Does, anyone know how I can ...
1
vote
1
answer
114
views
NX Feature Create: Receiving 'NX Expected a synchronous delegate but got an asynchronous one.'
Hello I am attempting to do a simple feature library generation using NX for angular
I use the UI, but the command it spits out is
nx generate @ngrx/schematics:feature --name=form --project=reps-...
1
vote
1
answer
2k
views
How to communicate between micro front end applications angular
I have 3 independent angular application running using MFE architecture. I want to communicate each other . What is the best approach to communicate between each other other than using local storage.
...
3
votes
3
answers
5k
views
Getting "Unable to import class CommonModule" error while importing a one library into another library
Nx serve throws below error when I used Icon lib inside Button lib.
enter image description here
Em*-Icon's module**
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { ...
1
vote
1
answer
605
views
Docker-compose, Nx, Angular error "localhost didn’t send any data."
I am trying to run Angular app with Nx using docker compose.
docker-compose.yml :
services:
client:
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/app
- /app/...
0
votes
0
answers
255
views
Cannot create NX workspace although it says it has successfully created workspace
Cannot see the created NX workspace although it says it has successfully created workspace.
I am using Ubuntu 22.04 LTS, Node v16.17.0.
Here's my terminal output:
npx create-nx-workspace@latest ...
1
vote
0
answers
907
views
Cannot create property 'outputPath' on string 'production' when trying Add Nx to Angular app by ng add @nrwl/angular command
When I'm running command ng add @nrwl/angular, I'm getting error
"Cannot create property 'outputPath' on string 'production'"
Configuration of outputPath and production are standard for ...
4
votes
1
answer
2k
views
Nx Module Federation with Angular - No provider for HttpClient
I have setuped a micro front-end Nx (13.10.3) workspace with Angular (13.3.0) and @nrwl/angular (13.10.3) module federation. When I try to load a route which is loading a remote module I am getting ...
0
votes
1
answer
1k
views
Creating a Storybook instance including stories from multiple libraries in a Nrwl Nx workspace
I have a storybook instance for every NX libs (core,icons), and I would like to have only one storybook instance that collect all the stories present in different libs.
I am using
NX 13
Angular 13
@...