question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

gettin started demo doesnt work

See original GitHub issue

Bug, feature request, or proposal:

material.angular.io gettin’ started demo doesnt work

What is the expected behavior?

demo is shown

What is the current behavior?

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)

What are the steps to reproduce?

visit https://material.angular.io/guide/material2-app

Is there anything else we should know?

Chrome, 56.0.2924.87 (64-bit) Mac Sierra

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
karacommented, Mar 2, 2017

Yep, should be fixed when we next deploy the docs site.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 7, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Quick start docker-compose demo doesn't work #5993 - GitHub
Trying to run the example notebook Iceberg - Getting started, I can run the "spark" cell (the first cell), but the next one...
Read more >
MONSTER HUNTER RISE DEMO Troubleshooting & Issue ...
Open a "Run" dialog in Windows. This can either be done by typing "run" into Start Search, or by holding the Windows key...
Read more >
Forza Horizon 3 demo won't work - Microsoft Community
I was trying to download the Forza Horizon 3 demo and it says that I got it and when I go to my...
Read more >
Working with demo content - Squarespace Help Center
Each Squarespace site comes pre-loaded with demo pages and content to highlight features and ... Getting Started. Working with demo content.
Read more >
How to Get Started: Demo and Discussion - e-Builder
Funding is beginning to flow from the Bipartisan Infrastructure Law (BIL) and other federal resources. Great news right? Except, more project funding means ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found