Express Server Integration with Angular UI [#3] | Back End & Front End | Web Application

  Рет қаралды 29,889

Shaheer Shukur

Shaheer Shukur

Күн бұрын

Пікірлер: 82
@AbdullahAlSalem_abood
@AbdullahAlSalem_abood 3 жыл бұрын
for this error: Property 'rows' does not exist on type 'never'. this is my solution: cards:any = [];
@haithamalnakib9238
@haithamalnakib9238 2 жыл бұрын
Hello Abdullah! cards are not assigned to a constructor, how where you able to initialize cards in this way?
@zekariyaszelelew5695
@zekariyaszelelew5695 2 жыл бұрын
You my friend, you are awesome!
@MaryamChouaibi
@MaryamChouaibi 2 жыл бұрын
thank you
@theartfactory6807
@theartfactory6807 3 жыл бұрын
error TS2339: Property 'imageName' does not exist on type 'never'.
@AbdullahAlSalem_abood
@AbdullahAlSalem_abood 3 жыл бұрын
same error: Property 'rows' does not exist on type 'never'.
@DiegoHidalgo122
@DiegoHidalgo122 2 жыл бұрын
Have you found a solution?
@haithamalnakib9238
@haithamalnakib9238 2 жыл бұрын
@@DiegoHidalgo122 Hello diego ! im currently working on the same problem. Maybe we can help each other solving it.
@MahmoudMouradSidky
@MahmoudMouradSidky 4 жыл бұрын
Thank you very much for this video, as I am a beginner and this was veeeeery useful, the only thing is that nodemon did not work until "npm install -g --force nodemon "
@shaheershukur
@shaheershukur 4 жыл бұрын
Glad it helped. Thank you so much for sharing your thought😃
@sauravrathod7046
@sauravrathod7046 3 жыл бұрын
Thanks this helped me
@mattishuman1224
@mattishuman1224 3 жыл бұрын
If anyone else receives an error "nodemon : The term 'nodemon' is not recognized..." all you need to do is install nodemon globally aka "npm i -g nodemon"
@shreyareddy7341
@shreyareddy7341 2 жыл бұрын
Thank you soo much
@mmasetlogelosetlogelo5874
@mmasetlogelosetlogelo5874 3 жыл бұрын
Hi Shaheer, I keep hitting an error, please help? When I run the server I get: Error: src/app/home/home.component.html:4:63 - error TS2339: Property 'cols' does not exist on type 'never'. 4 ~~~~ src/app/home/home.component.ts:9:16 9 templateUrl: './home.component.html', ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component HomeComponent. Error: src/app/home/home.component.html:4:85 - error TS2339: Property 'rows' does not exist on type 'never'. 4 ~~~~ src/app/home/home.component.ts:9:16 9 templateUrl: './home.component.html', ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component HomeComponent. Error: src/app/home/home.component.html:8:20 - error TS2339: Property 'title' does not exist on type 'never'. 8 {{card.title}} ~~~~~ src/app/home/home.component.ts:9:16 9 templateUrl: './home.component.html', ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component HomeComponent.
@hgiangphan
@hgiangphan 2 жыл бұрын
tips for newbies: if you see error code "Property 'cols' does not exist on type 'never'", in home.component.html change "cards.cols" to "cards['cols']"
@whatsupgzhere
@whatsupgzhere 3 жыл бұрын
Property 'cols' does not exist on type 'never'. and rows got errors too
@dhruvnagar471
@dhruvnagar471 3 жыл бұрын
Even I got the same error. Anyone has the solution to this?
@whatsupgzhere
@whatsupgzhere 3 жыл бұрын
@@dhruvnagar471 create a new angular project and then dont pick yes to the first option
@ishasinghal9387
@ishasinghal9387 3 жыл бұрын
@@whatsupgzhere which first option??
@omranihamed2182
@omranihamed2182 3 жыл бұрын
cards:{cols:string, rows:string,imageName:string, title:string}[]=[];
@DiegoHidalgo122
@DiegoHidalgo122 2 жыл бұрын
​@@omranihamed2182 with this solution he does not show me the cards
@MATETISRAVYACHETHANAMATETISRAV
@MATETISRAVYACHETHANAMATETISRAV 2 жыл бұрын
im getting error at 14:18 the cards arent showing
@Anotherdudeeeee
@Anotherdudeeeee 3 жыл бұрын
@ 5:09 I'm getting an error saying "Port 3001 is already in use" help?
@prateekvarshney83
@prateekvarshney83 3 жыл бұрын
Open your task manager if you are on windows and then there you will see a node.js process running in the backend. Just kill that activity and restart yr terminal again. This will surely solve your problem
@srivishanth2014
@srivishanth2014 3 жыл бұрын
i'm getting error at 8.40 in cols,rows,and card title
@SolexICS
@SolexICS 3 жыл бұрын
same
@SolexICS
@SolexICS 3 жыл бұрын
did you manage to solve the issue?
@vaishnavishivrajsrivastava2167
@vaishnavishivrajsrivastava2167 3 жыл бұрын
@@SolexICS hey did you get the solution to this error?
@arpanmaiti4507
@arpanmaiti4507 3 жыл бұрын
Same
@arpanmaiti4507
@arpanmaiti4507 3 жыл бұрын
@@vaishnavishivrajsrivastava2167 did you find any solution?
@safwanu2be
@safwanu2be 3 жыл бұрын
poli aanu machaa!!1 iniyum orupad ithupolathe expecting :) kudos :)
@MrSubandrio
@MrSubandrio 2 жыл бұрын
how to do this using java spring as our backend, can it??
@pranathij7769
@pranathij7769 4 жыл бұрын
At 11:41 the error line which showed up for you ,I'm facing the same problem but it got rectified to you I'm unable to do that ,it shows cannot find name 'AppService ' .Pls try to give a solution.
@shaheershukur
@shaheershukur 4 жыл бұрын
you mean error line belore the word AppService? press ctrl+space on the word AppService. VS code will suggest auto importing.. Or you can also manually import the AppService at the top of the file by typing..
@shaheershukur
@shaheershukur 4 жыл бұрын
you may consider installing this helpful plugin too.. marketplace.visualstudio.com/items?itemName=Angular.ng-template
@pranathij7769
@pranathij7769 4 жыл бұрын
@@shaheershukur yah ,I actually found my mistake ,it's the import statement that connects the home component and app.service.ts ,anyway many thanks for the video ,it's Great!!
@ithacharan5661
@ithacharan5661 4 жыл бұрын
@@shaheershukur i'm getting an error showing that the " Cannot find name 'AppService' in the constructor of home.component.ts .Would be great if you suggest a solution
@AbhishekKumar-fl8bw
@AbhishekKumar-fl8bw 3 жыл бұрын
I'm getting an error while running server, it says "Error in connecting to database". Someone plz help...
@skyzane2735
@skyzane2735 3 жыл бұрын
I need help. I was able to run express on Angular dist. Now I can run my Angular web app in localhost:3000. The angular routers are working when clicking the link. However, it is NOT working when I input the URL directly in the browser’s address bar. It just says Cannot GET /home
@itsjustgui
@itsjustgui 2 жыл бұрын
Hey! Why can’t I find videos #1 and #2?
@shaheershukur
@shaheershukur 2 жыл бұрын
Complete Playlist: kzbin.info/aero/PLXKzVP4cRi8A4G6vnFB5bKpAStskhFwG0
@haithamalnakib9238
@haithamalnakib9238 2 жыл бұрын
Hello Shaheer! I know it's a bit late to be asking you about this now. But after completing this part of the project (video#3) I'm receiving an error upon ng serve that says: "Property 'title' does exist on type 'never' (Referring to {{card.title}} in home.component.html file) Sorry for the inconvenience and thankyou in advance!!
@diestro_
@diestro_ 2 жыл бұрын
Click the link to the source code on github. Select the issues panel. Click on the first issue. That's the answer. Took me a while to find out.
@omranihamed2182
@omranihamed2182 3 жыл бұрын
cards ne sont pas affichées dans UI aidez-moi
@Samuel_Jebadurai
@Samuel_Jebadurai 2 жыл бұрын
Bro, I get this message in the final part " Property 'imageName' does not exist on type '{ cols: string; rows: string; title: string; } " . Please help!
@Samuel_Jebadurai
@Samuel_Jebadurai 2 жыл бұрын
cards:{cols:string, rows:string,imageName:string, title:string}[]=[]; Got it
@jeffreyfranklinsamuelcsbs8197
@jeffreyfranklinsamuelcsbs8197 2 жыл бұрын
@@Samuel_Jebadurai where do i put it?
@golu8045
@golu8045 3 жыл бұрын
Can you please make a video, how can I send formdata in backend?
@komalsutar5551
@komalsutar5551 4 жыл бұрын
I am not able to load the images as per the above instructions Can you please help me
@shaheershukur
@shaheershukur 4 жыл бұрын
Are there any errors thrown in the console?
@tejasvit6598
@tejasvit6598 3 жыл бұрын
@@shaheershukur Hello ,sir it's showing "Failed to load resource:net::ERR_CONNECTION_REFUSED " in the console
@ashokprakash1417
@ashokprakash1417 3 жыл бұрын
Sir, i'm facing some issues. can you help with this?
@jaisuryasb.sc.ai_da3405
@jaisuryasb.sc.ai_da3405 2 жыл бұрын
sir i am facing an error browser say "Failed to load resource: net::ERR_CONNECTION_REFUSED" please help me to solve this problem
@BrianYator
@BrianYator Жыл бұрын
You need to restart the localhost:3000 server again i.e. "nodemon --exec npm start app.js "
@NeHaSingh-dw4pn
@NeHaSingh-dw4pn 3 жыл бұрын
Sir how can i use a fake api for this like fakestoreapi and fetch there product details from the url and use them in our dashboard there images product details product image can you plz rply asap it's really urgent
@featured_vids
@featured_vids 4 жыл бұрын
Hey Shaheer thanks for this amazing post.. but its showing error 404 while running parallel servers of jsexpress and ng serve both on different ports.
@shaheershukur
@shaheershukur 4 жыл бұрын
Did you check whether there angular is hitting the correct URL(with port number after 'localhost') on which express is running?, and you are accessing the correct route you've defined in express?.. Sorry for the late reply
@bablu4195
@bablu4195 3 жыл бұрын
getting ELIFECYCLE error while starting express.js
@kishandave1785
@kishandave1785 3 жыл бұрын
Thank you for this tutorial! If I wanted to run the angular component on a web server (VM-1) and express component on a separate app server (VM-2), how would I go about doing this? Thank you
@nebretgebremedhin6535
@nebretgebremedhin6535 3 жыл бұрын
Thank you sir for this video but it showing error in the template of componlent HOmeComponent rows and cols does not exist in line 4 and imageName doesnot exist in line 5 and title also does not exist in line 8 how to fix this problem
@haithamalnakib9238
@haithamalnakib9238 2 жыл бұрын
Hello, I know it's kind of a late reply, but if you are still interested in finding the solution I can help.
@mr.triplea3021
@mr.triplea3021 4 жыл бұрын
Sir,can you do a video on publish an angular app in iis with node API with mysql
@volim_pare_hocu_ih_jos
@volim_pare_hocu_ih_jos 3 жыл бұрын
Error: ../src/app/home/home.component.ts:6:25 - error TS2307: Cannot find module 'node:os' or its corresponding type declarations. 6 import { homedir } from 'node:os'; ~~~~~~~~~ pls help brother
@omranihamed2182
@omranihamed2182 3 жыл бұрын
cards:{cols:string, rows:string,imageName:string, title:string}[]=[]; dans home.component.ts
@martynrichu5443
@martynrichu5443 3 жыл бұрын
Very much useful tutorial you have given to us. Thank you very much my brother :D
@Alfredfreezy3
@Alfredfreezy3 3 жыл бұрын
Beautiful, it would be nice if you showed us how to do this using nestjs as our backend. I'd really appreciate.
@tankeuful
@tankeuful 3 жыл бұрын
oh Thank you so much Sir for sharing your know-how with us
@Ayanami3rd
@Ayanami3rd 2 жыл бұрын
This is a great tutorial. Unfortunately, creating a web app still seems far too time consuming for me. I hope one day it gets just as easy as creating a desktop UI (with .NET FW for instance)...
@alpaykoyuncuoglu3387
@alpaykoyuncuoglu3387 3 жыл бұрын
Very good explanation! Thank u.
@abdulaziz7013
@abdulaziz7013 3 жыл бұрын
Awesome, Informatic.
Why Your Backend Shouldn't Serve Files
19:40
Boot dev
Рет қаралды 54 М.
How To Make API Call From Angular To Node Express REST API
15:57
CodeHandbook
Рет қаралды 46 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,6 МЛН
How to build a REST API with Node js & Express
58:40
Programming with Mosh
Рет қаралды 1,8 МЛН
Creating a Single-Sign-On Angular Application | OAuth2 and OIDC
10:56
Shaheer Shukur
Рет қаралды 129 М.
I Redesigned the ENTIRE YouTube UI from Scratch
19:10
Juxtopposed
Рет қаралды 940 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН