Asked By: Anonymous
So.. I was trying out the polymer tutorial and here’s what I followed :-
1) Downloaded the Starter Project
2) ran python -m SimpleHTTPServer after changing directory to starter
Now when I go to localhost:8000 in my browser, a grey page opens up. I tried inspect element and found this error
http://localhost:8000/components/platform/platform.js 404 (File not found)
Here is a screenshot with the error.
Addition Info:
OS : Windows 8.1 Enterprise 32bit
Python: 2.7
Chrome: 35.0.1916.153 m
Solution
Answered By: Anonymous
You need to run python -m SimpleHTTPServer from the top level of the entire project… that would be the ~/polymer-tutorial-master directory. Then go to http://localhost:8000/starter
to see the starter project. Likewise to see what everything should look like after Step 1, Step 2 and Step 3 you can navigate to http://localhost:8000/step-1
, etc.