nx-examples icon indicating copy to clipboard operation
nx-examples copied to clipboard

import breaks enforce-module-boundaries linting completely

Open Roozenboom opened this issue 3 years ago • 2 comments

PR with reproduction code for an import that breaks the enforce-module-boundaries linting rule.

Linting "products-home-page"...

 >  NX   Cannot read properties of undefined (reading 'name')

   Occurred while linting ~/nx-examples/libs/products/home-page/src/lib/home-page/home-page.component.ts:6
   Rule: "@nrwl/nx/enforce-module-boundaries"
   Pass --verbose to see the stacktrace.

Roozenboom avatar Sep 29 '22 14:09 Roozenboom

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 06a92a4bfda1886136fef2a57f687f1c81c9a8c0. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


🟥 Failed Commands
nx affected:lint --base 187bbad0ac064257aa11d32dfe01d481f73c7ee6 --parallel
✅ Successfully ran 3 targets

Sent with 💌 from NxCloud.

nx-cloud[bot] avatar Sep 29 '22 14:09 nx-cloud[bot]

Deploy Preview for nrwl-nx-examples-dep-graph ready!

Name Link
Latest commit 06a92a4bfda1886136fef2a57f687f1c81c9a8c0
Latest deploy log https://app.netlify.com/sites/nrwl-nx-examples-dep-graph/deploys/6335a8b8d466550008a96659
Deploy Preview https://deploy-preview-232--nrwl-nx-examples-dep-graph.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] avatar Sep 29 '22 14:09 netlify[bot]