nomachine-nx Questions
3
I'm trying to build a component library for angular and react. That's why I want to use the same styles(sass) for both libs. I created a separate folder for my styles and included my main sass insi...
Lind asked 26/6, 2022 at 16:13
3
Solved
I am getting above error when i import the interface from one of the library:
import { DetailsProps } from '@vite/prop-types'; //error
import styles from './header.module.less';
const initailDetai...
Expertise asked 22/12, 2022 at 11:33
6
I'm not sure what could be going wrong and the error message is blank whenever I open it. I've searched online for fixes but nothing has helped hence I'm asking here.
My version of node is: v16.1.0...
Howlyn asked 7/11, 2021 at 15:5
1
I've created a nextjs app within my NX monorepo and I've started porting an existing NX app (within the same monorepo) to it.
My NX monorepo is set up with many alias's, all of them configured with...
Evette asked 9/5, 2022 at 23:41
4
I'm refactoring my Angular 11 application into libraries using Nx tool. My main app have @angular/localize as dependency and @angular/localize import in polyfills.ts. Every usage of $localize in my...
Sulphuryl asked 27/1, 2021 at 7:21
3
Cannot find module 'nx/src/config/workspaces' on creating a React app on existing Nx project
I am getting the following error and I add the react app to the already existing Nx project on my system:
Require stack:
- C:\Users\HP\OneDrive\Documents\amagi-qtc\node_modules\@nrwl\devkit\index.j...
Asthenosphere asked 20/5, 2022 at 7:52
2
Solved
I am developing a UI library using MUI, React, and TypeScript, with Nx as the build system. For testing purposes, I am using Jest. However, I encountered an error when trying to add a font to my pr...
Akerboom asked 11/7, 2023 at 6:55
3
Solved
I have a Monorepo generated with NX v16. I have working React app inside. I generated NestJS app with the nx generator command coming from the NX VS Code plugin, but the moment I start the nest app...
Burdette asked 12/5, 2023 at 9:13
1
Solved
I know I can clear nx cache with nx reset but is there a way to clear the NX Cloud cache?
I could not find a command or an option in their GUI that would enable this.
Porphyroid asked 29/12, 2022 at 21:18
5
I'm trying to host my app on 0.0.0.0:3000 and not localhost.
However each time I run the nx serve career --port=3000 --host=0.0.0.0
The app is hosted on:
tcp6 0 0 :::3000 :::* LISTEN 9112/node
Inst...
Heterologous asked 23/11, 2021 at 10:50
2
I hope you can help me out.
I am using Nx with latest angular/nestjs (date: February, 26)
...
"@nestjs/common": "^7.0.0",
"@nestjs/config": "^0.6.3",
&qu...
Illusion asked 26/2, 2021 at 21:14
1
The project has been upgraded from 11.2.11 to 12.2.10 during the nx upgrade process (nx migrate)
Now, the code linting increased from 30 seconds to 4 minutes:
time TIMING=1 ng lint my-app
> nx...
Piezochemistry asked 26/10, 2021 at 16:32
1
I am trying to enable Webpack HMR in nestjs app in Nx monorepo
The nx workspace with nestjs app can be found in the repo here. It is created by following official docs
Nestjs webpack HMR docs is ...
Fabio asked 1/3, 2020 at 14:43
1
Solved
I have created a new Angular workspace using the following sequence of commands:
npx ng new starwars --prefix ts --routing --style scss
cd starwars
npx ng add @ngrx/store@latest # accepting the def...
Immunogenetics asked 20/8, 2022 at 17:55
8
I have issues with the keymap of my NX session being garbled.
I have a Macbook Air running OS X Lion. I use OpenNX to start a session with an Ubuntu server running FreeNX. The session type is Gnom...
Crabby asked 10/8, 2011 at 22:36
1
Solved
I've used the nx migrate command that generated a migrations.json file at the root of my project. I've ran the migrations and they were successful.
I've committed the changes done by the migration ...
Gifted asked 11/6, 2022 at 13:4
2
I'm happily using x2go to connect to a remote Ubuntu Server 16.04 with XFCE installed from my local pc with a local resolution of 1920x1080 on a HiDPI screen (13''). If I run the x2go client from a...
Happen asked 4/1, 2018 at 8:48
0
I created NX library for custom components with React and TailwindCSS.
It has basic NX rollup setup.
I tried to add custom colors to my tailwind.config.js like this:
const { createGlobPatternsForDe...
Tailstock asked 7/4, 2022 at 22:53
1
Solved
nx run myproject:test --testFile=libs/myproject/src/lib/guards/role.guard.spec.ts
I expect only a single .spec file to be tested. However, the error output shows additional .spec files.
$ nx run m...
Theaterintheround asked 26/1, 2022 at 13:5
0
I am working on Nx monorepo. We have 5 library and are using imports like this '../../components/Button' in library. but instead of this, we want to use absolute imports.
For example:
there are 2 f...
Eisenberg asked 28/1, 2022 at 11:50
1
Solved
I tried to follow every comment with a possible solution here to the letter. I relied on an example project on github as well which works perfectly.
This also started to happen to me after updating...
Underthrust asked 3/1, 2022 at 21:3
3
I am having problems while performing a simple unit test in my NX workspace. What I am attempting to do is to 1) configure TestBed and 2) Inject service. However, even if I use scaffolded dummy ser...
Blida asked 30/7, 2020 at 11:25
4
I tried to answer the question from Mark:
Keymap issues with NX from Mac OS X Lion to Ubuntu
However, it is locked so I figured I would post a new question / answer.
I have been trying to...
Optimist asked 17/8, 2011 at 13:6
1
© 2022 - 2025 — McMap. All rights reserved.