Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

nrwl

How to clear Nx cache

July 11, 2023 by Tarik

Just delete the whole ‘nx’ cache folder: rm -rf ./node_modules/.cache/nx

Categories javascript Tags javascript, nrwl, nrwl-nx, nx.dev Leave a comment

how can i run a specific angular spec test file in NX workspace?

June 12, 2023 by Tarik

This worked for me nx test –test-file example.spec.ts

Categories angular Tags angular, angular-cli, karma-jasmine, ngrx, nrwl Leave a comment

the difference between nx and Lerna ? (monorepos)

April 28, 2023 by Tarik

2022 Update As pointed out by my great fellow at the comment section, Lerna is now being held by the Nx team. The best solution nowadays is to use more native approaches for publishing (as NPM/YARN workspaces) or go straight to Nx. Good references: Lerna is dead — Long Live Lerna Integrating Nx and Lerna … Read more

Categories javascript Tags javascript, lerna, monorepo, nrwl, nrwl-nx Leave a comment

Could not find an NgModule. Use the skip-import option to skip importing in NgModule

January 29, 2023 by Tarik

Quick fix 1) Change current directory in cmd/terminal to src/app cd src/app (linux) cd .\src\app\ (windows) 2) Run commands now ng g c myComponent

Categories angular Tags angular, nrwl Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa