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.

Edit in plunker demos are broken

See original GitHub issue

Bug, feature request, or proposal:

The open in plunker links should have working demos. The demos only work on the docs site and not when you try to edit them on plunker.

What is the expected behavior?

Demos should load on plunker.

https://material.angular.io/components/radio/examples image Click the edit in plunker link.

What is the current behavior?

Examples crash when running directly on plunker.

zone.min.js:1 Error: (SystemJS) Unexpected value 'undefined' exported by the module 'PlunkerMaterialModule'
	Error: Unexpected value 'undefined' exported by the module 'PlunkerMaterialModule'
	    at k (https://cdnjs.cloudflare.com/ajax/libs/zone.js/0.8.5/zone.min.js:1:12526)
	    at syntaxError (https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:1729:34)
	    at eval (https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:15447:40)
	    at Array.forEach (<anonymous>)
	    at CompileMetadataResolver.getNgModuleMetadata (https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:15445:49)
	    at CompileMetadataResolver.getNgModuleSummary (https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:15358:52)
	    at eval (https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:15431:72)
	    at Array.forEach (<anonymous>)
	    at CompileMetadataResolver.getNgModuleMetadata (https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:15416:49)
	    at JitCompiler._loadModules (https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:26861:70)
	    at JitCompiler._compileModuleAndComponents (https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:26834:36)
	    at JitCompiler.compileModuleAsync (https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:26763:37)
	    at PlatformRef_._bootstrapModuleWithZone (https://unpkg.com/@angular/core/bundles/core.umd.js:4568:25)
	    at PlatformRef_.bootstrapModule (https://unpkg.com/@angular/core/bundles/core.umd.js:4554:21)
	    at execute (https://run.plnkr.co/yjw1SDT3TIW3KHbE/main.ts!transpiled:113:65)
	Error loading https://run.plnkr.co/yjw1SDT3TIW3KHbE/main.ts
	    at k (https://cdnjs.cloudflare.com/ajax/libs/zone.js/0.8.5/zone.min.js:1:12526)
	    at syntaxError (https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:1729:34)
	    at eval (https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:15447:40)
	    at Array.forEach (<anonymous>)
	    at CompileMetadataResolver.getNgModuleMetadata (https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:15445:49)
	    at CompileMetadataResolver.getNgModuleSummary (https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:15358:52)
	    at eval (https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:15431:72)
	    at Array.forEach (<anonymous>)
	    at CompileMetadataResolver.getNgModuleMetadata (https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:15416:49)
	    at JitCompiler._loadModules (https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:26861:70)
	    at JitCompiler._compileModuleAndComponents (https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:26834:36)
	    at JitCompiler.compileModuleAsync (https://unpkg.com/@angular/compiler/bundles/compiler.umd.js:26763:37)
	    at PlatformRef_._bootstrapModuleWithZone (https://unpkg.com/@angular/core/bundles/core.umd.js:4568:25)
	    at PlatformRef_.bootstrapModule (https://unpkg.com/@angular/core/bundles/core.umd.js:4554:21)
	    at execute (https://run.plnkr.co/yjw1SDT3TIW3KHbE/main.ts!transpiled:113:65)
	Error loading https://run.plnkr.co/yjw1SDT3TIW3KHbE/main.ts

image

What are the steps to reproduce?

Providing a StackBlitz/Plunker (or similar) is the best way to get the team to see your issue.
Plunker starter (using on @master): https://goo.gl/DlHd6U
StackBlitz starter (using latest npm release): https://goo.gl/wwnhMV

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Is there anything else we should know?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Oct 28, 2017

Works for me too. But I just recognized, that the Plunker links don’t work, when you use uBlock Origin. I don’t know wether this is a problem with all adblockers or just with this particular one.

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

Edit in plunker demos are broken · Issue #8079 · angular ... - GitHub
The open in plunker links should have working demos. The demos only work on the docs site and not when you try to...
Read more >
Edit and Share Angular Material Demos - Stack Overflow
I am trying to share an idea for part of a webpage using Angular Material, but I can't. I am trying to send...
Read more >
ngFor Broken Editing od String Array - Plunker
(function (global) { System.config({ // DEMO ONLY! REAL CODE SHOULD NOT TRANSPILE IN THE BROWSER transpiler: 'ts', typescriptOptions: { // Copy of compiler ......
Read more >
Demos are/ and have always been broken. Change my mind.
I don't think they should be a game mechanic when psyonix themselves has came out a d said demos will always be this...
Read more >
StackBlitz | Instant Dev Environments | Click. Code. Done.
Reset broken containers ... external servers to connect to means no delays between your keystrokes and editor, and an internet connection is not...
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