-
Notifications
You must be signed in to change notification settings - Fork 469
Description
EDITED
I've been working my way through the course, starting with the first folder of a section and building it out along with the lessons, everything working as expected. Then about halfway through lesson 47-router-tracing, I started getting the following error after the hot-reload triggered after a save:
client?11a9:119 Cannot determine the module for class AppComponent in C:\Users\Allende\Desktop\Dev\tutorials\angular-pro-src\47-route-tracing\app\app.component.ts! Add AppComponent to the NgModule to fix it.
Everything works until the first hot-reload then I get the same error, regardless of what I change, even just adding a word to an HTML template. If I stop the server and restart, it works again until the next hot-reload.
This only happens in folders after 46-async-custom-validators, I have retested and can confirm this.
Notes:
- Setup:
yarn add node-sass -D
yarn install
yarn start - From the beginning I have had to
yarn install node-sass -Dseparately, I get build errors if I don't. Until lesson 47 this wasn't an issue. - After a few hot-reloads the terminal running the server freezes
- Tried upgrading dependencies to latest and got
compiler._compileSrcFile is not a functionerror - Reforked the repository, no change
- I forked the angular-pro-app-seed and I don't have the same issues.
- Environment:
- Windows 10
- node 8.2.1,
- yarn 0.27.5 initially and then upgraded to 1.1 locally and globally
- VS Code 1.16.1
Thank you for this great course I've learned a lot and am anxious to finish. Any help would be much appreciated.