Comments (10)
I'm sure you would want to use Polymer 3.0 custom element in your Angular App, It's really great. and you have to add CUSTOM_ELEMENTS_SCHEMA to enable it.
from nx.
FYI: This has been fixed with newer versions of VSCode Language Service Extension. Tested it with v0.1.9. It is now working as expected. (angular/vscode-ng-language-service#211)
from nx.
I think until that issue is fixed, you can add CUSTOM_ELEMENTS_SCHEMA like the editor suggest.
from nx.
@sandangel I agree, your proposal would remove the red.
I am not sure I want to do that because typechecking in templates is working quite well right now and I am not ready to give it up. What worries me is that nobody has acknowledged the issue and seems to be working on it as it is still broken in Angular 5 beta. I fear a bit that it will remain like this for a long time.
from nx.
This is an issue with the angular language service, we cannot fix it on our side. You can disable the language service for now.
from nx.
Thought that angular/angular#20222 would fix this issue also for nx. However I still got the same error. Do you have any news about this? I really don't want to disable language service.
from nx.
@davidwuerfel before the vscode angular language service fix this issue, you can use 'yarn link' to help language service find the library path.
cd libs/my-lib
yarn init
enter package name like@my-scope/my-lib
yarn link
cd ../..
yarn link @my-scope/my-lib
restart vscode, angular language service should be works.
from nx.
Thank you very much. Already made my day! This indeed works for the time being.
from nx.
FYI: I was still experiencing this issue. Seems you need to reload the editor each time you add a new lib. Unless it's just my environment that's whack. Although, I figured since you need to serve again after adding a lib, maybe you need to reload the editor as well. So I guess it would make sense?
from nx.
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
from nx.
Related Issues (20)
- CommonJS executor not running in commonjs
- cypress.config.cts not working with E2E inferred task
- Failed to process project graph HOT 1
- `nx release publish`: 402 Payment Required error with scoped packages HOT 1
- ESBuild dependency resolution breaks in multi language repo
- Nx broken in Termux - Cannot find module '@nx/nx-android-arm64'
- Support `.cjs` file extension when using eslint flat config
- the nx daemon fails to start when there is npm protocal dep with redirected resolve
- @nx/webpack:webpack fails when using generatePackageJson option with bun
- Cypress component testing customWebpackConfig from devServerTarget not used.
- nx releaseChangelog error `No changed files to commit` HOT 1
- enforce-module-boundaries plugin can't detect error in packages HOT 1
- NX Release (with NestJs Lib) is updating wrong package.json
- Nx not able to migrate angular material and Angular CDK from 9.X.X to 11.X.X HOT 1
- CommitReferences are not included in all Changelogs
- Clarity required for 'Environment Variable Conflict between Nx and Vite' solution HOT 1
- `chalk.bold is not a function` error when running `nx g @nx/angular:ng-add`
- NX built in environment variables are not available to process in nx19
- `nx release`: please update your lock file with `npm install` before continuing
- Agent Nx Tasks not using working-driectory (GitHub Actions)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nx.