ultimatecourses/angular-pro-src

How does one get started with the pro course in 2023?

Closed this issue · 1 comments

dw-0 commented

Im sorry if this is the wrong place for asking that question but im currently kinda lost.
I just finished with the basic course (which is awesome btw @toddmotto! great way of teaching, loved it!). Now i wanted to continue with the pro course but quickly realized that i encounter quite a few issues, likely due to my missing skills, knowledge and experience.

First of all i also struggled to get the dependencies installed. What finally worked (kinda) was replacing "node-sass" with "sass" in the package.json as per the last comment from 2021 here: ultimatecourses/angular-fundamentals-seed#10 (comment) and then install them with npm install --legacy-peer-deps.
Now i at least see a "Hello" when i browse to localhost:4000 (yay?). I hope i won't encounter other problems now due to switching to another dependency instead further down the line.

So how do i proceed now with the actual course? I would wish for some updated instructions. I struggle to understand the folder structure of that Angular 4 project. Its quite different to an Angular 15 project. There is no CLI available? How does one create new components? Write them out by hand? The first chapter directly starts out with an existing auth-form.component.ts which is not available in the seed project zip file. Naive as i was i thought i just open my terminal and create that component with ng g c auth-form. But then i encounter the following error message:

Error: This command is not available when running the Angular CLI outside a workspace.

I think that's because there actually is NO CLI? I would have wished for at least a short explanation/update on what to do as someone now coming from comfortably using a CLI to generate components (and as someone coming from the basic course using Angular 15). The angular-fundamentals-seed also doesn't contain an angular.json / angular-cli.json file which is (afaik) usually available if a new project is generated?

I hope there is someone out there (if not Todd himself) to help me out to continue with the pro course. I recently bought the Angular Master Bundle and really want to work through all of the chapters and courses :)

Thanks in advance for anyone wanting to help me out!

Hey! Thanks for the very kind words on the Angular Basics course, glad you enjoyed it so much. So with the "No CLI" that's correct, the courses were recorded at a time when the Angular CLI was very unstable and I made the decision not to use it. Most of Angular Pro can be watched independently of "following along" with the coding, lots of reference lessons. The project at the end of the course is where you can step-by-step compose the final application. That said, I'm working on the brand new Angular Pro update (which will become Angular Masterclass) later this year, so please keep an eye out. Much of it will be the same, but with a few tweaks to bring RxJS imports up to date and one or two other small pieces - from that perspective the course code is very valid for today's Angular - without the CLI being used. For anything else, you can email me here :D https://ultimatecourses.com/contact I'll close this issue off but feel free to comment again or drop an email! Thank you kindly.