i have to run an application from a local repo (called exoplanet-explorer). I installed Node.js and Git, and I followed these steps:
in the command line of Git Bash:
git clone https://github.com/udacity/exoplanet.explorer.git
cd exoplanet-explorer
npm install -g gulp bower
npm install && bower install
gulp serve
When I run gulp serve, the app page opens but it's blank. In the console this list of errors appears:
Failed to load resource: the server responded with a status of 404 (Not Found) webcomponents-lite.js:1
(index):1 Refused to execute script from 'http://localhost:5000/bower_components/webcomponentsjs/webcomponents-lite.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
:5000/bower_components/iron-flex-layout/classes/iron-flex-layout.html:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:5000/bower_components/iron-pages/iron-pages.html:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:5000/bower_components/iron-selector/iron-selector.html:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:5000/bower_components/paper-material/paper-material.html:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:5000/bower_components/paper-menu/paper-menu.html:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:5000/bower_components/paper-scroll-header-panel/paper-scroll-header-panel.html:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:5000/bower_components/paper-styles/paper-styles-classes.html:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:5000/bower_components/paper-toolbar/paper-toolbar.html:1 Failed to load resource: the server responded with a status of 404 (Not Found)
[Deprecation] Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M67, around May 2018. Please refer to for possible migration paths.
page.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
(index):1 Refused to execute script from
'http://localhost:5000/bower_components/page/page.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
:5000/bower_components/polymer/polymer.html:1 Failed to load resource: the server responded with a status of 404 (Not Found)
planet-thumb.html:78 Uncaught ReferenceError: Polymer is not defined
at planet-thumb.html:78
at planet-thumb.html:100
scale-visualizer.html:68 Uncaught ReferenceError: Polymer is not defined
at scale-visualizer.html:68
at scale-visualizer.html:189
What can I do?
browser-sync
issue (withgit bash
?) since that's the lib that maps yourbower_components
route. Does this only occur ingit bash
? Have you tried this in a different terminal program? What is your version of Node? – tony19 May 10 '18 at 20:56