You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 4, 2017. It is now read-only.
Hello guys. I have been following the tutorial for testing banner component using templateUrl. Download the zip code and run it, but got the following error:
WARN [web-server]: 404: /app/banner.component.html
Chrome 57.0.2987 (Mac OS X 10.11.6) BannerComponent (templateUrl) no title in the DOM until manually call `detectChanges` FAILED
Failed: Uncaught (in promise): Failed to load app/banner.component.html
Error: Uncaught (in promise): Failed to load app/banner.component.html
Error: This test module uses the component BannerComponent which is using a "templateUrl" or "styleUrls", but they were never compiled. Please call "TestBed.compileComponents" before your test.
TypeError: Cannot read property 'textContent' of undefined
Chrome 57.0.2987 (Mac OS X 10.11.6): Executed 1 of 3 (1 FAILED) (0 secs / 0.063 secs)
The zip code is here. I haven't changed the code, just run npm test. Also if I run the npm start got a Cannot GET / error. I also opened a ticket in stackoverflow.
Really looking forward to solve this issue because I'd like to test a new project I've just started.
Thanks for the good work in the tutorial :)
Cheers.
Update: also see the same behaviour in windows.
The text was updated successfully, but these errors were encountered:
The latest version of system-angular-loader.js made the trick.
This should be close. ;)
gmunumel
changed the title
BannerComponent (templateUrl) no title in the DOM until manually call detectChanges
(Close) BannerComponent (templateUrl) no title in the DOM until manually call detectChanges
Apr 12, 2017
gmunumel
changed the title
(Close) BannerComponent (templateUrl) no title in the DOM until manually call detectChanges
(Closed) BannerComponent (templateUrl) no title in the DOM until manually call detectChanges
Apr 12, 2017
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello guys. I have been following the tutorial for testing banner component using templateUrl. Download the zip code and run it, but got the following error:
The zip code is here. I haven't changed the code, just run
npm test
. Also if I run thenpm start
got aCannot GET /
error. I also opened a ticket in stackoverflow.Really looking forward to solve this issue because I'd like to test a new project I've just started.
Thanks for the good work in the tutorial :)
Cheers.
Update: also see the same behaviour in windows.
The text was updated successfully, but these errors were encountered: