Skip to content

Sample Apps not working #3363

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
graham-sportsmgmt opened this issue Mar 1, 2017 · 4 comments
Closed

Sample Apps not working #3363

graham-sportsmgmt opened this issue Mar 1, 2017 · 4 comments

Comments

@graham-sportsmgmt
Copy link

At the bottom of the Getting Started page ( https://material.angular.io/guide/getting-started ) there are links to two sample apps:

Material Sample App - https://material.angular.io/guide/material2-app
Angular Connect 2016 Demo - https://material.angular.io/guide/leashed-in

Both of these links redirect to https://material.angular.io/ which shows an eternal loading message:

untitled

The console shows this error output:

TypeError: Cannot read property 'document' of undefined
    at e.detectChangesInternal (https://material.angular.io/main.187804ec05c88255b68e.bundle.js:28:9953)
    at e.t.detectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:36:5749)
    at e.t.internalDetectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:36:5542)
    at e.detectChangesInternal (https://material.angular.io/main.187804ec05c88255b68e.bundle.js:28:7809)
    at e.t.detectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:36:5749)
    at t.detectChangesInNestedViews (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:57:780)
    at e.detectChangesInternal (https://material.angular.io/main.187804ec05c88255b68e.bundle.js:26:9934)
    at e.t.detectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:36:5749)
    at e.t.internalDetectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:36:5542)
    at e.detectChangesInternal (https://material.angular.io/main.187804ec05c88255b68e.bundle.js:26:8430)
    at e.t.detectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:36:5749)
    at t.detectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:1008:1301)
    at https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:183:5180
    at Array.forEach (native)
    at e.tick (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:183:5147)
i @ vendor.cd86af5b77b0c0342f39.bundle.js:1417
vendor.cd86af5b77b0c0342f39.bundle.js:735 EXCEPTION: Uncaught (in promise): TypeError: Cannot read property 'document' of undefined
TypeError: Cannot read property 'document' of undefined
    at e.detectChangesInternal (https://material.angular.io/main.187804ec05c88255b68e.bundle.js:28:9953)
    at e.t.detectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:36:5749)
    at e.t.internalDetectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:36:5542)
    at e.detectChangesInternal (https://material.angular.io/main.187804ec05c88255b68e.bundle.js:28:7809)
    at e.t.detectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:36:5749)
    at t.detectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:1008:1301)
    at t.activate (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:529:1918)
    at t.placeComponentIntoOutlet (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:14476)
    at t.activateRoutes (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:14064)
    at https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:13299
    at Array.forEach (native)
    at t.activateChildRoutes (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:13277)
    at t.activate (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:12934)
    at https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:7777
    at e._next (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:57:3070)
t.handleError @ vendor.cd86af5b77b0c0342f39.bundle.js:735
vendor.cd86af5b77b0c0342f39.bundle.js:735 ORIGINAL STACKTRACE:
t.handleError @ vendor.cd86af5b77b0c0342f39.bundle.js:735
vendor.cd86af5b77b0c0342f39.bundle.js:735 Error: Uncaught (in promise): TypeError: Cannot read property 'document' of undefined
TypeError: Cannot read property 'document' of undefined
    at e.detectChangesInternal (https://material.angular.io/main.187804ec05c88255b68e.bundle.js:28:9953)
    at e.t.detectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:36:5749)
    at e.t.internalDetectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:36:5542)
    at e.detectChangesInternal (https://material.angular.io/main.187804ec05c88255b68e.bundle.js:28:7809)
    at e.t.detectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:36:5749)
    at t.detectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:1008:1301)
    at t.activate (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:529:1918)
    at t.placeComponentIntoOutlet (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:14476)
    at t.activateRoutes (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:14064)
    at https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:13299
    at Array.forEach (native)
    at t.activateChildRoutes (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:13277)
    at t.activate (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:12934)
    at https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:7777
    at e._next (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:57:3070)
    at m (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:1417:2213)
    at l (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:1417:1372)
    at l (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:1417:1121)
    at https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:1417:1776
    at t.invokeTask (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:1417:9670)
    at Object.onInvokeTask (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:78:2559)
    at t.invokeTask (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:1417:9591)
    at n.runTask (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:1417:5370)
    at o (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:1417:497)
t.handleError @ vendor.cd86af5b77b0c0342f39.bundle.js:735
vendor.cd86af5b77b0c0342f39.bundle.js:1417 Unhandled Promise rejection: Cannot read property 'document' of undefined ; Zone: angular ; Task: Promise.then ; Value: TypeError: Cannot read property 'document' of undefined
    at e.detectChangesInternal (https://material.angular.io/main.187804ec05c88255b68e.bundle.js:28:9953)
    at e.t.detectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:36:5749)
    at e.t.internalDetectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:36:5542)
    at e.detectChangesInternal (https://material.angular.io/main.187804ec05c88255b68e.bundle.js:28:7809)
    at e.t.detectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:36:5749)
    at t.detectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:1008:1301)
    at t.activate (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:529:1918)
    at t.placeComponentIntoOutlet (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:14476)
    at t.activateRoutes (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:14064)
    at https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:13299
    at Array.forEach (native)
    at t.activateChildRoutes (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:13277)
    at t.activate (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:12934)
    at https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:7777
    at e._next (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:57:3070) TypeError: Cannot read property 'document' of undefined
    at e.detectChangesInternal (https://material.angular.io/main.187804ec05c88255b68e.bundle.js:28:9953)
    at e.t.detectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:36:5749)
    at e.t.internalDetectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:36:5542)
    at e.detectChangesInternal (https://material.angular.io/main.187804ec05c88255b68e.bundle.js:28:7809)
    at e.t.detectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:36:5749)
    at t.detectChanges (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:1008:1301)
    at t.activate (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:529:1918)
    at t.placeComponentIntoOutlet (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:14476)
    at t.activateRoutes (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:14064)
    at https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:13299
    at Array.forEach (native)
    at t.activateChildRoutes (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:13277)
    at t.activate (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:12934)
    at https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:162:7777
    at e._next (https://material.angular.io/vendor.cd86af5b77b0c0342f39.bundle.js:57:3070)
i @ vendor.cd86af5b77b0c0342f39.bundle.js:1417

@graham-sportsmgmt graham-sportsmgmt changed the title Sample App not working Sample Apps not working Mar 1, 2017
@devversion
Copy link
Member

Thanks for the issue. This has been fixed with SHA cb57660.

The correct links should show up within the next release of Angular Material.

@ssatguru
Copy link

still getting the same issue

@devversion
Copy link
Member

There hasn't been a release yet. Coming soon,

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants