-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Solution tsconfig not working on library dev or monorepo setup #37781
Comments
Please try again with 10.0.1, released in the last hour or so. |
Nope still the same... just removing the solution setup back to the old works. |
Ah, it requires a release of the LS plugin. Please follow angular/vscode-ng-language-service#824 for updates and relevant comments. |
This has been fixed in v0.1000.1 which just got released. |
I don't know what you've done, but this is still not working. Wether with VSCode nore with WebStorm. What i've done:
Same picture as above... no library completion and the configured TS-Flags from the tsconfig.base.ts are also missing |
I have the same exact problem with ng 10 in most IDEs. I have created an issue in the CLI repo and looking forward to a fix. angular/angular-cli#18040 |
@destus90, your issue in not related to the Angular LS, but rather to the fact that the file is not being picked up by any LS because it’s not part of any compilation. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 bug report
Affected Package
@angular/cli migration for solution tsconfig
Is this a regression?
Angular 9 just worked fine
Description
When the Angular project is used in workspace mode the tsconfig paths for libraries and local stuff will not work no more, because of the solution tsconfig setup.
🔬 Minimal Reproduction
After this setup reload your VSCode oder WebStorm and just try to import the Libraries Modules in the AppModule.
The generated configs from the CLI:
tsconfig.json
tsconfig.base.ts
🔥 Exception or Error
All my Editors, VSCode & WebStorm do not recognize the paths and imports no more. Code Completion stoped working, but ng serve or ng build works just fine.
🌍 Your Environment
Angular Version:
Anything else relevant?
As i can read from the docs this should be a editor improvement, but can't realize whats the improvement then just them stopping to work. Angular names it as a enterprise framework, this is also true for enterprise setups just like libraries for sharing code. Especially in Monorepo setups with multiple apps and just them now not working with this setup.
The text was updated successfully, but these errors were encountered: