manfredsteyer / ngx-build-plus

Extend the Angular CLI's default build behavior without ejecting, e. g. for Angular Elements
1.19k stars 136 forks source link

Unable to run additional webpack configurations in NX workspace #397

Open shyam1992 opened 10 months ago

shyam1992 commented 10 months ago
Screenshot 2023-09-06 at 5 06 46 PM

I either get that error or the below,

Screenshot 2023-09-06 at 5 09 20 PM

Any help to support additional webpack configurations while using this executor is appreciated.

shyam1992 commented 10 months ago

Project.json

{ "name": "@ui/source", "version": "0.0.0", "license": "MIT", "scripts": { "pco-app:build": "npx nx run pco-app:build-project", "pco-app:build:prod": "npx nx run pco-app:build-project:production", "pco-app:serve": "npx nx run pco-app:serve:development", "pco-app:extract-translation-files": "npx nx run pco-app:extract-i18n", "pco-app:build-localize": "npx nx run pco-app:build-project --localize", "sbp-app:build": "npx nx run sbp-app:build-project", "sbp-app:build:prod": "npx nx run sbp-app:build-project:production", "sbp-app:serve": "npx nx run sbp-app:serve:development", "sbp-app:extract-translation-files": "npx nx run sbp-app:extract-i18n", "sbp-app:build-localize": "npx nx run sbp-app:build-project --localize", "sbp-app:lint": "npx nx lint sbp-app", "sbp-app:fmt": "prettier --write apps/sbp-app/src" }, "private": true, "dependencies": { "@ag-grid-community/angular": "^30.0.2", "@ag-grid-community/client-side-row-model": "^30.0.2", "@ag-grid-community/core": "^30.0.2", "@ag-grid-community/infinite-row-model": "^30.0.2", "@ag-grid-community/styles": "^30.0.2", "@ag-grid-enterprise/column-tool-panel": "^30.0.2", "@ag-grid-enterprise/excel-export": "^30.0.2", "@ag-grid-enterprise/filter-tool-panel": "^30.0.2", "@ag-grid-enterprise/master-detail": "^30.0.2", "@ag-grid-enterprise/menu": "^30.0.2", "@ag-grid-enterprise/row-grouping": "^30.0.2", "@ag-grid-enterprise/server-side-row-model": "^30.0.2", "@ag-grid-enterprise/status-bar": "^30.0.2", "@angular/animations": "^16.0.3", "@angular/cdk": "^16.1.1", "@angular/common": "^16.1.1", "@angular/compiler": "^16.1.1", "@angular/core": "^16.1.1", "@angular/elements": "^16.1.1", "@angular/forms": "^16.1.1", "@angular/material": "^16.1.1", "@angular/material-experimental": "^16.0.0", "@angular/platform-browser": "^16.1.1", "@angular/platform-browser-dynamic": "^16.1.1", "@angular/router": "^16.1.1", "@apollo/client": "^3.7.12", "@nx/angular": "16.2.2", "@syncron/cao.hura": "0.0.1", "@syncron/flame-ui": "1.1.0", "ag-grid-angular": "^30.0.2", "ag-grid-community": "^30.0.2", "apollo-angular": "^5.0.0", "graphql": "^16.6.0", "highcharts": "^10.3.0", "highcharts-angular": "^3.1.0", "http-server": "^14.1.1", "material-components-web": "14.0.0-canary.7d8ea4624.0", "monaco-editor": "^0.41.0", "monaco-editor-webpack-plugin": "^7.1.0", "ngx-build-plus": "^16.0.0", "ngx-skeleton-loader": "^7.0.0", "react": "^18.2.0", "rxjs": "^7.8.0", "tslib": "^2.5.0", "zone.js": "^0.13.0" }, "devDependencies": { "@angular-devkit/build-angular": "^16.1.0", "@angular-devkit/core": "^16.1.0", "@angular-devkit/schematics": "^16.1.0", "@angular-eslint/eslint-plugin": "^16.0.0", "@angular-eslint/eslint-plugin-template": "^16.0.0", "@angular-eslint/template-parser": "^16.0.0", "@angular/cli": "^16.1.0", "@angular/compiler-cli": "^16.1.1", "@angular/language-service": "^16.1.1", "@angular/localize": "^16.1.1", "@nrwl/cli": "15.9.3", "@nrwl/cypress": "15.9.2", "@nrwl/jest": "15.9.2", "@nrwl/js": "15.9.2", "@nrwl/web": "15.9.2", "@nx/cypress": "^16.2.2", "@nx/eslint-plugin": "^16.2.2", "@nx/jest": "^16.2.2", "@nx/js": "^16.2.2", "@nx/linter": "^16.2.2", "@nx/web": "^16.2.2", "@nx/workspace": "^16.2.2", "@schematics/angular": "^16.0.3", "@types/jest": "^29.4.4", "@types/node": "^16.11.7", "@typescript-eslint/eslint-plugin": "^5.58.0", "@typescript-eslint/parser": "^5.58.0", "chroma-js": "^2.1.2", "cypress": "^12.11.0", "dotenv": "10.0.0", "eslint": "^8.15.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-cypress": "^2.10.3", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.4.1", "jest-environment-jsdom": "^29.4.1", "jest-junit": "^16.0.0", "jest-preset-angular": "^13.1.1", "nx": "^16.2.2", "prettier": "^3.0.0", "ts-jest": "^29.1.0", "ts-node": "^10.9.1", "typescript": "5.0.4", "webpack-bundle-analyzer": "^4.8.0" } }

cosminlupw commented 8 months ago

similar issue here.

alexandruminzatanu commented 8 months ago

Same issue, trying to make an instrumentation step for code coverage on nx workspace.