Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot resolve type entity i1.BrnLabelDirective to symbol #495

Open
1 of 2 tasks
MiguelG97 opened this issue Nov 21, 2024 · 0 comments
Open
1 of 2 tasks

Cannot resolve type entity i1.BrnLabelDirective to symbol #495

MiguelG97 opened this issue Nov 21, 2024 · 0 comments
Labels
bug Something isn't working needs reproduction Need a way to reproduce this

Comments

@MiguelG97
Copy link

Please provide the environment you discovered this bug in.

When importing import { BrnSelectImports } from '@spartan-ng/ui-select-brain'; vscode outlines the following:

[{
"resource": ".../src/app/modules/home/screen/home_screen.component.ts",
"owner": "eslint",
"code": {
"value": "@nx/enforce-module-boundaries",
"target": {
"$mid": 1,
"path": "/nrwl/nx/blob/20.1.2/docs/generated/packages/eslint-plugin/documents/enforce-module-boundaries.md",
"scheme": "https",
"authority": "github.com"
}
},
"severity": 8,
"message": "Projects should use relative imports to import from other files within the same project. Use "./path/to/file" instead of import from "@spartan-ng/ui-select-brain"",
"source": "eslint",
"startLineNumber": 6,
"startColumn": 1,
"endLineNumber": 6,
"endColumn": 64
}]

then when using it, the following error appears in console:

Error: Cannot resolve type entity i1.BrnLabelDirective to symbol
at reflectTypeEntityToDeclaratio

Which area/package is the issue in?

select

Description

When importing import { BrnSelectImports } from '@spartan-ng/ui-select-brain'; vscode outlines the following:

[{
"resource": ".../src/app/modules/home/screen/home_screen.component.ts",
"owner": "eslint",
"code": {
"value": "@nx/enforce-module-boundaries",
"target": {
"$mid": 1,
"path": "/nrwl/nx/blob/20.1.2/docs/generated/packages/eslint-plugin/documents/enforce-module-boundaries.md",
"scheme": "https",
"authority": "github.com"
}
},
"severity": 8,
"message": "Projects should use relative imports to import from other files within the same project. Use "./path/to/file" instead of import from "@spartan-ng/ui-select-brain"",
"source": "eslint",
"startLineNumber": 6,
"startColumn": 1,
"endLineNumber": 6,
"endColumn": 64
}]

then when using it, the following error appears in console:

Error: Cannot resolve type entity i1.BrnLabelDirective to symbol
at reflectTypeEntityToDeclaratio

Please provide the exception or error you saw

No response

Other information

No response

I would be willing to submit a PR to fix this issue

  • Yes
  • No
@MiguelG97 MiguelG97 added the bug Something isn't working label Nov 21, 2024
@goetzrobin goetzrobin added the needs reproduction Need a way to reproduce this label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs reproduction Need a way to reproduce this
Projects
None yet
Development

No branches or pull requests

2 participants