You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: ENOENT: no such file or directory, open '/PROG/_experiments/_nx/nx-examples/libs/shared/product/ui/src/lib/product-price/dummy-component.js'
Occurred while linting C:\PROG\_experiments\_nx\nx-examples\libs\shared\product\ui\src\lib\product-price\some-component.tsx:3
Rule: "@nx/enforce-module-boundaries"
at Object.openSync (node:fs:603:3)
at readFileSync (node:fs:471:35)
at getRelativeImportPath (C:\PROG\_experiments\_nx\nx-examples\node_modules\@nx\eslint-plugin\src\utils\ast-utils.js:101:47)
Expected Behavior
Linting to show @nx/enforce-module-boundaries errors instead of file import resolve issues
Current Behavior
Similar but not exactly to #15996
Linting fails because @nx/enforce-module-boundaries doesn't properly resolve imports when
.js
extension are usedLike
"@nx-example/shared/product/ui/*": ["libs/shared/product/ui/src/lib/*"],
https://github.com/lionelhorn/nx-examples/blob/530304282599b6f596f9cac04df38b31357f8e4e/tsconfig.base.json#L49
Expected Behavior
Linting to show @nx/enforce-module-boundaries errors instead of file import resolve issues
GitHub Repo
https://github.com/lionelhorn/nx-examples
Steps to Reproduce
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: