Tools: Getting 'Not Found' output

Created on 8 Feb 2016  路  8Comments  路  Source: Polymer/tools

I'm very new to Polymer. i downloaded a code sample and followed instruction given in polymer-project website. I installed every required components but after running polyserve command, it shows a page with 'Not found' text. Please help. Am in missing something?
screenshot from 2016-02-08 17 39 33

polyserve Medium In Progress Question wontfix

Most helpful comment

Maybe you need a trailing /. Try localhost:8080/components/polymer-starter-kit/demo/index.html also.

All 8 comments

Maybe you need a trailing /. Try localhost:8080/components/polymer-starter-kit/demo/index.html also.

+1 seeing the same problem. don't see anything in the logs either

update: never mind. it is working fine now, didn't realize you need to enter the full path.

+1 on this same quirk. Kinda picky?

Also, For some odd reason, after I've used polyserve, I cannot use localhost:8080 in any other fashion without my url defaulting to "http://localhost:8080/components/icon-toggle/"

EDIT: ->https://github.com/PolymerLabs/polyserve/issues/74

This was one thing that I ran into as well. I found that depending on the situation, the actual HTML file that should be rendered needed to be entered in the URL. For example, in the icon-toggle example, entering in the URL, 'http://localhost:8080/components/icon-toggle/index.html'.

I'm having the same issue here:

When I run polymer serve it gives me the location http://localhost:8080/components/icon-toggle/. But when I call that URL from my browser I get a 404 :-(

The same for http://localhost:8080/components/icon-toggle/index.html btw.

Path that works: http://localhost:8080/components/icon-toggle/demo/

I met the same problem of "not found" just now while I'm performing the tutorial at below URL.
https://www.polymer-project.org/1.0/start/first-element/intro

if you can get the "not found" pop-up after tying "polymer serve" at the unzipped directory,
you can get the correct response by correcting the PATH problem of the imported html!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings