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 - 11:19:21] An unexpected error occurred:
[Error - 11:19:21] Error: ENOENT: no such file or directory, open '/Users/lester/Documents/Menusifu/cloud-pos-front/libs/widget/src/base/date-picker/index.ts'
Occurred while linting /Users/lester/Documents/Menusifu/cloud-pos-front/libs/widget/src/gift-card/components/base-card/index.tsx:4
Rule: "@nx/enforce-module-boundaries"
at readFileSync (node:fs:448:20)
at t.readFileSync (node:electron/js2c/node_init:2:9900)
at hasMemberExport (/Users/lester/Documents/Menusifu/cloud-pos-front/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_@[email protected]_@sw_r6cnujfukzoba4w7fqzwdebsdu/node_modules/@nx/eslint-plugin/src/utils/ast-utils.js:75:47)
at getRelativeImportPath (/Users/lester/Documents/Menusifu/cloud-pos-front/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_@[email protected]_@sw_r6cnujfukzoba4w7fqzwdebsdu/node_modules/@nx/eslint-plugin/src/utils/ast-utils.js:210:17)
at Object.fix (/Users/lester/Documents/Menusifu/cloud-pos-front/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_@[email protected]_@sw_r6cnujfukzoba4w7fqzwdebsdu/node_modules/@nx/eslint-plugin/src/rules/enforce-module-boundaries.js:265:98)
at normalizeFixes (/Users/lester/Documents/Menusifu/cloud-pos-front/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/report-translator.js:194:28)
at /Users/lester/Documents/Menusifu/cloud-pos-front/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/report-translator.js:365:49
at Object.report (/Users/lester/Documents/Menusifu/cloud-pos-front/node_modules/.pnpm/[email protected]/node_modules/eslint/lib/linter/linter.js:1047:41)
at run (/Users/lester/Documents/Menusifu/cloud-pos-front/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_@[email protected]_@sw_r6cnujfukzoba4w7fqzwdebsdu/node_modules/@nx/eslint-plugin/src/rules/enforce-module-boundaries.js:243:29)
at ImportDeclaration (/Users/lester/Documents/Menusifu/cloud-pos-front/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_@[email protected]_@sw_r6cnujfukzoba4w7fqzwdebsdu/node_modules/@nx/eslint-plugin/src/rules/enforce-module-boundaries.js:481:17)
Package Manager Version
No response
Operating System
macOS
Linux
Windows
Other (Please specify)
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Current Behavior
eslint . --fix
meet a error which is caused by Rule: "@nx/enforce-module-boundaries"Expected Behavior
eslint . --fix
can execute successGitHub Repo
No response
Steps to Reproduce
1.in a tsx,use
import { DatePicker } from '@pos/widget'
,DatePicker is a tsx and not as ts2. run
eslint . --fix
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: