Skip to content
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

Demos are all broken because data/contacts.json 404s #550

Open
lukebjerring opened this issue Apr 10, 2019 · 2 comments
Open

Demos are all broken because data/contacts.json 404s #550

lukebjerring opened this issue Apr 10, 2019 · 2 comments

Comments

@lukebjerring
Copy link

Description

None of the demos load properly.
e.g. https://npm-demos.appspot.com/@polymer/[email protected]/demo/grouping.html

Expected outcome

Demos show an iron-list of sorts

Actual outcome

None of the demos show a list because the data doesn't load

Live Demo

https://npm-demos.appspot.com/@polymer/[email protected]/demo/grouping.html

Steps to reproduce

Open the example

Browsers Affected

Probably all; Only checked Chrome.

@keanulee
Copy link
Contributor

Where did you find this the npm-demos.appspot.com link? I'm guessing it's because that service doesn't serve JSON files because they're definitely included in the published NPM package (https://unpkg.com/@polymer/[email protected]/demo/data/contacts.json).

@lukebjerring
Copy link
Author

https://www.webcomponents.org/element/@polymer/iron-list/demo/demo/index.html

From Google search, initially, the landing page is actually
https://www.webcomponents.org/element/polymerelements/iron-list

But the UI redirects it to the @polymer npm package. As a result, the (first) demo link doesn't work:
https://raw-dot-custom-elements.appspot.com/polymerelements/iron-list/v3.0.2/iron-list/demo/cards.html
That link is broken too, with

cards.html:1 Uncaught TypeError: Failed to resolve module specifier "@polymer/polymer/polymer-legacy.js". Relative references must start with either "/", "./", or "../".

Then, on a reload of the @polymer URL, there's a different issue (the one that I originally filed here).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants