The latest version of Angular creates apps as standalone by default. To get around this use the --standalone=false option when creating the app. I also used the --routing=false option. ng new demo --standalone=false --routing=false
Finally! Thank you for this video. Finally CH5 dosen't look that hard anymore - until I tried to add /, then it stopped working as I want :P Hope for more videos from you or other guys that will explain this more :) Thank again for this video.
I tried this without Angular, and faced the same issue when I had the inside of index.html. Moving that to the last line of fixed the issue for me. I guess ch5-select makes use of IDs which requires the HTML to be loaded before the Javascript. I don't know how to fix that for Angular though.
whenever i try to xfer to my tsw i get: Error: Error on connection to 192.168.0.155: Failed to upload dist/ch5-sample-project.ch5z to display/ch5-sample-project.ch5z: Permission denied. No success executing command.
All good up to point 20. Then I am getting following error " src/app/app.component.ts:5:16 5 templateUrl: './app.component.html', ~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent. src/app/app.component.html:1:101 - error NG8001: 'ch5-button' is not a known element: 1. If 'ch5-button' is an Angular component, then verify that it is part of this module. 2. If 'ch5-button' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message." any ideas ?
Fudge, some of this looks a lot different 3 years later... particularly around 8 minutes in. thanks for the video though going to keep trying to get past this point
The latest version of Angular creates apps as standalone by default. To get around this use the --standalone=false option when creating the app. I also used the --routing=false option.
ng new demo --standalone=false --routing=false
I was having trouble figuring out why my app files were different than in the video. This did it.
Thanks!
Finally! Thank you for this video. Finally CH5 dosen't look that hard anymore - until I tried to add /, then it stopped working as I want :P Hope for more videos from you or other guys that will explain this more :) Thank again for this video.
I tried this without Angular, and faced the same issue when I had the inside of index.html. Moving that to the last line of fixed the issue for me.
I guess ch5-select makes use of IDs which requires the HTML to be loaded before the Javascript. I don't know how to fix that for Angular though.
Please keep these videos coming, great stuff!
Great stuff. Looking forward to see full training course !
CH5 is gonna set the new standard for Home Automation.
Thanks for the video. Very interesting yet confusing and I like that 🤪🤙🏼
Wow! great work! thanks for this! Pls do more...
ch5-cli archive -p demo -d dist/demo -o dist
Error: File dist/demo/index.html has not been found.
😞
OK so copy the index.html file from the src folder to the dist folder then run the command again.
This is amazing mate! Would you consider to make a video about the emulation in the browser please?
Yes
Thanks for the work you put into this, very helpful
Thanks for sharing! Very insightful.
I did the same steps in Angular 13, I got a dark screen, I don't know what the cause is.
whenever i try to xfer to my tsw i get: Error: Error on connection to 192.168.0.155: Failed to upload dist/ch5-sample-project.ch5z to display/ch5-sample-project.ch5z: Permission denied. No success executing command.
All good up to point 20. Then I am getting following error
" src/app/app.component.ts:5:16
5 templateUrl: './app.component.html',
~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component AppComponent.
src/app/app.component.html:1:101 - error NG8001: 'ch5-button' is not a known element:
1. If 'ch5-button' is an Angular component, then verify that it is part of this module.
2. If 'ch5-button' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message."
any ideas ?
Thanks for this video .... good job !!
It doesn't show anything when i add Routing in my Angular project. Do you know why ?
Wow so nice! wish this was here earlier XD
Fudge, some of this looks a lot different 3 years later... particularly around 8 minutes in. thanks for the video though going to keep trying to get past this point
hey im stuck too did you ever end up figuring it out?
Line 14, so there is now tsconfig.base.json file where is that target
Nice Nathan Thx for posting
Thanks for the no-BS primer
This is fantastic! Will you be adding more CH5 videos?
Yes, thinking about the contract editor and emulation
@@NathanHesson Please do when you get a chance. God Bless.
great video , thanks
This is great Good Work.
Great Video Thanks
Be careful copy/pasting lines in steps 12 & 13 above - when I pasted them, they went in with "curly quotes" that pissed off VSC...
Be careful in general with copy/paste. TH-cam wouldn't let me do brackets as well.