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.

Plunker template broken

See original GitHub issue

Bug, feature request, or proposal:

BUG

What is the expected behavior?

The plunker template loads

What is the current behavior?

The plunker template not loading

What are the steps to reproduce?

http://plnkr.co/edit/OlfIph?p=preview

Error

GET https://unpkg.com/@angular/cdk@2.0.0-beta.12/bundles/cdk.umd.js/accordion 404 ()
zone.min.js:1 Error: (SystemJS) XHR error (404) loading https://unpkg.com/@angular/cdk/bundles/cdk.umd.js/accordion
	Error: XHR error (404) loading https://unpkg.com/@angular/cdk/bundles/cdk.umd.js/accordion
	    at new d (https://cdnjs.cloudflare.com/ajax/libs/zone.js/0.7.2/zone.min.js:1:10303)
	    at XMLHttpRequest.t [as _onreadystatechange] (https://cdnjs.cloudflare.com/ajax/libs/zone.js/0.7.2/zone.min.js:1:730)
	    at e.invokeTask (https://cdnjs.cloudflare.com/ajax/libs/zone.js/0.7.2/zone.min.js:1:15723)
	    at n.runTask (https://cdnjs.cloudflare.com/ajax/libs/zone.js/0.7.2/zone.min.js:1:13076)
	    at XMLHttpRequest.invoke (https://cdnjs.cloudflare.com/ajax/libs/zone.js/0.7.2/zone.min.js:1:16836)
	Error loading https://unpkg.com/@angular/cdk/bundles/cdk.umd.js/accordion as "@angular/cdk/accordion" from https://rawgit.com/angular/material2-builds/master/bundles/material.umd.js
	    at new d (https://cdnjs.cloudflare.com/ajax/libs/zone.js/0.7.2/zone.min.js:1:10303)
	    at XMLHttpRequest.t [as _onreadystatechange] (https://cdnjs.cloudflare.com/ajax/libs/zone.js/0.7.2/zone.min.js:1:730)
	    at e.invokeTask (https://cdnjs.cloudflare.com/ajax/libs/zone.js/0.7.2/zone.min.js:1:15723)
	    at n.runTask (https://cdnjs.cloudflare.com/ajax/libs/zone.js/0.7.2/zone.min.js:1:13076)
	    at XMLHttpRequest.invoke (https://cdnjs.cloudflare.com/ajax/libs/zone.js/0.7.2/zone.min.js:1:16836)
	Error loading https://unpkg.com/@angular/cdk/bundles/cdk.umd.js/accordion as "@angular/cdk/accordion" from https://rawgit.com/angular/material2-builds/master/bundles/material.umd.js
e.invoke @ zone.min.js:1
n.run @ zone.min.js:1
(anonymous) @ zone.min.js:1
e.invokeTask @ zone.min.js:1
n.runTask @ zone.min.js:1
a @ zone.min.js:1
invoke @ zone.min.js:1
XMLHttpRequest.send (async)
n @ zone.min.js:1
e.scheduleTask @ zone.min.js:1
n.scheduleMacroTask @ zone.min.js:1
(anonymous) @ zone.min.js:1
send @ VM1758:3
W @ system.src.js:1043
(anonymous) @ system.src.js:1779
e @ zone.min.js:1
(anonymous) @ system.src.js:1778
(anonymous) @ system.src.js:2803
(anonymous) @ system.src.js:3381
(anonymous) @ system.src.js:3713
(anonymous) @ system.src.js:4105
(anonymous) @ system.src.js:4570
(anonymous) @ system.src.js:4839
(anonymous) @ system.src.js:408
e.invoke @ zone.min.js:1
n.run @ zone.min.js:1
(anonymous) @ zone.min.js:1
e.invokeTask @ zone.min.js:1
n.runTask @ zone.min.js:1
a @ zone.min.js:1
invoke @ zone.min.js:1
XMLHttpRequest.send (async)
n @ zone.min.js:1
e.scheduleTask @ zone.min.js:1
n.scheduleMacroTask @ zone.min.js:1
(anonymous) @ zone.min.js:1
send @ VM1758:3
W @ system.src.js:1043
(anonymous) @ system.src.js:1779
e @ zone.min.js:1
(anonymous) @ system.src.js:1778
(anonymous) @ system.src.js:2803
(anonymous) @ system.src.js:3381
(anonymous) @ system.src.js:3713
(anonymous) @ system.src.js:4105
(anonymous) @ system.src.js:4570
(anonymous) @ system.src.js:4839
(anonymous) @ system.src.js:408
e.invoke @ zone.min.js:1
n.run @ zone.min.js:1
(anonymous) @ zone.min.js:1
e.invokeTask @ zone.min.js:1
n.runTask @ zone.min.js:1
a @ zone.min.js:1
invoke @ zone.min.js:1
XMLHttpRequest.send (async)
n @ zone.min.js:1
e.scheduleTask @ zone.min.js:1
n.scheduleMacroTask @ zone.min.js:1
(anonymous) @ zone.min.js:1
send @ VM1758:3
W @ system.src.js:1043
(anonymous) @ system.src.js:1779
e @ zone.min.js:1
(anonymous) @ system.src.js:1778
(anonymous) @ system.src.js:2803
(anonymous) @ system.src.js:3381
(anonymous) @ system.src.js:3713
(anonymous) @ system.src.js:4105
(anonymous) @ system.src.js:4570
(anonymous) @ system.src.js:4839
(anonymous) @ system.src.js:408
e.invoke @ zone.min.js:1
n.run @ zone.min.js:1
(anonymous) @ zone.min.js:1
e.invokeTask @ zone.min.js:1
n.runTask @ zone.min.js:1
a @ zone.min.js:1
Promise resolved (async)
n @ zone.min.js:1
r @ zone.min.js:1
e.scheduleTask @ zone.min.js:1
n.scheduleMicroTask @ zone.min.js:1
p @ zone.min.js:1
e.then @ zone.min.js:1
(anonymous) @ system.src.js:4797
import @ system.src.js:830
(anonymous) @ system.src.js:1802
(anonymous) @ (index):20
unpkg.com/@angular/cdk@2.0.0-beta.12/bundles/cdk.umd.js/layout:1 GET https://unpkg.com/@angular/cdk@2.0.0-beta.12/bundles/cdk.umd.js/layout 404 ()```

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
willshowellcommented, Nov 8, 2017

@GregKass typically when they are broken, the fix is to simply add new cdk packages to the systemjs config. You can identify which package is missing by looking at the console. Then just copy one of the existing package declarations and replace the name.

1reaction
GregKasscommented, Nov 10, 2017

@victorblq Try this version:

https://plnkr.co/edit/V1nTxG?p=preview

there were some updates that required extra files in the systemjs.config.js

Read more comments on GitHub >

github_iconTop Results From Across the Web

Plunker template is broken · Issue #6038 · angular/components ...
Plunker template is broken, likely due to recent changes in our bundling. @devversion Can you take a look when you get a chance?...
Read more >
broken sample - Plunker
Angular Starter Plunker - Typescript ... spinner' @Component({ selector: 'my-app', template: ` <div> <spinner [show]="show" [size]="150"> </spinner> <div ...
Read more >
AngularJs plunker not working? New to Plunker - Stack Overflow
I am relatively new to plunker, what am I doing wrong? There are errors in the console, and the live preview is not...
Read more >
48 answers on StackOverflow to the most popular Angular ...
See how some in Plunker example doesn't get hidden because it has a style ... be the router in Angular breaks many of...
Read more >
filearts/plunker - Gitter
Does anybody have a working angular2 example working? I tried many they are all broken. Thank you. Also, how do you get the...
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