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.

Live Examples on Plunker failing with Chrome

See original GitHub issue

I’m submitting a…


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Feature request
[x] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

The live examples work in Mozilla Firexox and Microsoft Edge. It doesn’t currently work in Chrome 62.0.3202.75 (Official Build) (64-bit)

Expected behavior

It should work

Minimal reproduction of the problem with instructions

Load it and it won’t work

What is the motivation / use case for changing the behavior?

Get it working again

Environment


Angular version: 5.0.0 (from "angular.io"

5.0.0 is also shown as the ng-version after app-root in Mozilla.

The latest tutorial. Any link will do, but an example is: https://angular.io/guide/router and from there the live example: https://angular.io/generated/live-examples/router/eplnkr.html


Browser:
- [ x] Chrome (desktop) version 62.0.3202.75 (Official Build) (64-bit)
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

Traces from the console:

vendor.6b9be0480d04ab9c9c6c.js:11 SyntaxError: Unexpected token D in JSON at position 0
    at JSON.parse (<anonymous>)
    at new r (vendor.6b9be0480d04ab9c9c6c.js:11)
    at e (vendor.6b9be0480d04ab9c9c6c.js:11) MessageEvent
r @ vendor.6b9be0480d04ab9c9c6c.js:11
vendor.6b9be0480d04ab9c9c6c.js:11 SyntaxError: Unexpected token D in JSON at position 0
    at JSON.parse (<anonymous>)
    at new r (vendor.6b9be0480d04ab9c9c6c.js:11)
    at e (vendor.6b9be0480d04ab9c9c6c.js:11) MessageEvent
r @ vendor.6b9be0480d04ab9c9c6c.js:11
vendor.js:1 SyntaxError: Unexpected token D in JSON at position 0
    at JSON.parse (<anonymous>)
    at new r (vendor.js:1)
    at e (vendor.js:1) MessageEvent
r @ vendor.js:1
unpkg.com/rxjs@5.5.2/operators/refCount.js Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
run.plnkr.co/:17 Error: (SystemJS) XHR error loading https://unpkg.com/rxjs@5.5.2/operators/refCount.js
	Error: XHR error loading https://unpkg.com/rxjs@5.5.2/operators/refCount.js
	    at Zone.runTask (https://unpkg.com/zone.js@0.7.4/dist/zone.js:151:47) [<root> => <root>]
	    at XMLHttpRequest.ZoneTask.invoke (https://unpkg.com/zone.js@0.7.4/dist/zone.js:345:33) [<root>]
	Error loading https://unpkg.com/rxjs@5.5.2/operators/refCount.js as "./refCount" from https://unpkg.com/rxjs@5.5.2/operators/share.js
	    at Zone.runTask (https://unpkg.com/zone.js@0.7.4/dist/zone.js:151:47) [<root> => <root>]
	    at XMLHttpRequest.ZoneTask.invoke (https://unpkg.com/zone.js@0.7.4/dist/zone.js:345:33) [<root>]
	Error loading https://unpkg.com/rxjs@5.5.2/operators/refCount.js as "./refCount" from https://unpkg.com/rxjs@5.5.2/operators/share.js
(anonymous) @ run.plnkr.co/:17
unpkg.com/rxjs@5.5.2/operators/refCount.js Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
unpkg.com/plugin-typescript@5.2.7/lib/plugin.js:304 TypeScript [Warning] transpiling to CommonJS, consider setting module: "system" in typescriptOptions to transpile directly to System.register format

Issue Analytics

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

github_iconTop GitHub Comments

7reactions
JSMikecommented, Nov 7, 2017

If using ublock origin add the following rule:

plnkr.co https://unpkg.com xmlhttprequest allow
5reactions
JSMikecommented, Nov 7, 2017

this is an adblock/ublock rules issue, EasyPrivacy filter is blocking ./refCount

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running quick-start plunker on chrome browser?
I am trying to run angular2 quickstart example of plunker in my local environment. For this, I followed these steps-. Download all files...
Read more >
Fix videos & games that won't play - Google Chrome Help
YouTube videos, for example, won't run without JavaScript. On your computer, open Chrome Chrome . At the top right, click More More and...
Read more >
Code Plunker (Live HTML CSS Editor)
Code Plunker (Live HTML CSS Editor) Test your HTML,CSS,JS and Get the program output instantly! Rapid front end code testing for developers!, ...
Read more >
Google Chrome Privacy Whitepaper
For example, if you sync your browsing history and have enabled its use in ... fail or succeed in order to detect and...
Read more >
chrome.runtime - Chrome Developers
See the Manifest V3 - Web Accessible Resources demo for more Runtime API ... If your Extension does not declare an options page,...
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