Coder Social home page Coder Social logo

exoplanet-explorer's Introduction

Exoplanet Explorer

Learn more about planets around other stars!

APIs:

Built from the Polymer Starter Kit. See below for installation instructions.

Here's how it works with the course:

  1. Switch to the branch for a specific quiz. You'll find the branch in the instructor notes.
  2. Run gulp serve.
  3. Do work.
  4. Check results by navigating to the URL that gulp serve outputs.

This project was developed with...


Polymer Starter Kit

A starting point for building web applications with Polymer 1.0

Included out of the box:

Getting Started

To take advantage of Polymer Starter Kit you need to:

  1. Get a copy of the code.
  2. Install the dependencies if you don't already have them.
  3. Modify the application to your liking.
  4. Deploy your production code.

Get the code

Download and extract Polymer Starter Kit to where you want to work. The project comes in two flavours - Light and Full.

Beginners: Try Polymer Starter Kit Light. This doesn't require any extra dependencies nor knowledge of modern front-end tooling. This option is good for prototyping if you haven't build a Polymer app before.

Intermediate - Advanced: Use the full version of Polymer Starter Kit. This comes with all the build tools you'll need for testing and productionising your app so it's nice and lean. You'll need to run a few extra commands to install the tools we recommend but it's worth it to make sure your final app is super optimised.

Rob Dodson has a fantastic PolyCast video available that walks through using Polymer Starter Kit. An end-to-end with Polymer and Polymer Starter Kit talk is also available.

Install dependencies

Quick-start (for experienced users)

With Node.js installed, run the following one liner from the root of your Polymer Starter Kit download:

npm install -g gulp bower && npm install && bower install

Prerequisites (for everyone)

The full starter kit requires the following major dependencies:

  • Node.js, used to run JavaScript tools from the command line.
  • npm, the node package manager, installed with Node.js and used to install Node.js packages.
  • gulp, a Node.js-based build tool.
  • bower, a Node.js-based package manager used to install front-end packages (like Polymer).

To install dependencies:

  1. Check your Node.js version.
node --version

The version should be at or above 0.12.x.

  1. If you don't have Node.js installed, or you have a lower version, go to nodejs.org and click on the big green Install button.

  2. Install gulp and bower globally.

npm install -g gulp bower

This lets you run gulp and bower from the command line.

  1. Install the starter kit's local npm and bower dependencies.
cd polymer-starter-kit && npm install && bower install

This installs the element sets (Paper, Iron, Platinum) and tools the starter kit requires to build and serve apps.

Development workflow

Serve / watch

gulp serve

This outputs an IP address you can use to locally test and another that can be used on devices connected to your network.

Run tests

gulp test:local

This runs the unit tests defined in the app/test directory through web-component-tester.

To run tests Java 7 or higher is required. To update Java go to http://www.oracle.com/technetwork/java/javase/downloads/index.html and download JDK and install it.

Build & Vulcanize

gulp

Build and optimize the current project, ready for deployment. This includes linting as well as vulcanization, image, script, stylesheet and HTML optimization and minification.

Application Theming & Styling

Polymer 1.0 introduces a shim for CSS custom properties. We take advantage of this in app/styles/app-theme.html to provide theming for your application. You can also find our presets for Material Design breakpoints in this file.

Read more about CSS custom properties.

Styling

  1. main.css - to define styles that can be applied outside of Polymer's custom CSS properties implementation. Some of the use-cases include defining styles that you want to be applied for a splash screen, styles for your application 'shell' before it gets upgraded using Polymer or critical style blocks that you want parsed before your elements are.
  2. app-theme.html - to provide theming for your application. You can also find our presets for Material Design breakpoints in this file.
  3. shared-styles.html - to shared styles between elements and index.html.
  4. element styles only - styles specific to element. These styles should be inside the <style></style> inside template.
<dom-module id="my-list">
  <template>
    <style>
      :host {
        display: block;
        background-color: yellow;
      }
    </style>
    <ul>
      <template is="dom-repeat" items="{{items}}">
        <li><span class="paper-font-body1">{{item}}</span></li>
      </template>
    </ul>
  </template>
</dom-module>

These style files are located in the styles folder.

Unit Testing

Web apps built with Polymer Starter Kit come configured with support for Web Component Tester - Polymer's preferred tool for authoring and running unit tests. This makes testing your element based applications a pleasant experience.

Read more about using Web Component tester.

Dependency Management

Polymer uses Bower for package management. This makes it easy to keep your elements up to date and versioned. For tooling, we use npm to manage Node.js-based dependencies.

Service Worker

Polymer Starter Kit offers an optional offline experience thanks to Service Worker and the Platinum Service Worker elements. New to Service Worker? Read the following introduction to understand how it works.

Our optional offline setup should work well for relatively simple applications. For more complex apps, we recommend learning how Service Worker works so that you can make the most of the Platinum Service Worker element abstractions.

Enable Service Worker support?

To enable Service Worker support for Polymer Starter Kit project use these 3 steps:

  1. Uncomment Service Worker code in index.html
<!-- Uncomment next block to enable Service Worker support (1/2) -->
<!--
<paper-toast id="caching-complete"
             duration="6000"
             text="Caching complete! This app will work offline.">
</paper-toast>

<platinum-sw-register auto-register
                      clients-claim
                      skip-waiting
                      on-service-worker-installed="displayInstalledToast">
  <platinum-sw-cache default-cache-strategy="networkFirst"
                     precache-file="precache.json">
  </platinum-sw-cache>
</platinum-sw-register>
-->
  1. Uncomment Service Worker code in elements.html
<!-- Uncomment next block to enable Service Worker Support (2/2) -->
<!--
<link rel="import" href="../bower_components/platinum-sw/platinum-sw-cache.html">
<link rel="import" href="../bower_components/platinum-sw/platinum-sw-register.html">
-->
  1. Uncomment 'cache-config' in the runSequence() section of the 'default' gulp task, like below: (gulpfile.js)
// Build Production Files, the Default Task
gulp.task('default', ['clean'], function (cb) {
  runSequence(
    ['copy', 'styles'],
    'elements',
    ['jshint', 'images', 'fonts', 'html'],
    'vulcanize', 'cache-config',
    cb);
});

Filing bugs in the right place

If you experience an issue with Service Worker support in your application, check the origin of the issue and use the appropriate issue tracker:

I get an error message about "Only secure origins are allowed"

Service Workers are only available to "secure origins" (HTTPS sites, basically) in line with a policy to prefer secure origins for powerful new features. However http://localhost is also considered a secure origin, so if you can, developing on localhost is an easy way to avoid this error. For production, your site will need to support HTTPS.

How do I debug Service Worker?

If you need to debug the event listener wire-up use chrome://serviceworker-internals.

What are those buttons on chrome://serviceworker-internals?

This page shows your registered workers and provides some basic operations.

  • Unregister: Unregisters the worker.
  • Start: Starts the worker. This would happen automatically when you navigate to a page in the worker's scope.
  • Stop: Stops the worker.
  • Sync: Dispatches a 'sync' event to the worker. If you don't handle this event, nothing will happen.
  • Push: Dispatches a 'push' event to the worker. If you don't handle this event, nothing will happen.
  • Inspect: Opens the worker in the Inspector.

Development flow

In order to guarantee that the latest version of your Service Worker script is being used, follow these instructions:

  • After you made changes to your service worker script, close all but one of the tabs pointing to your web application
  • Hit shift-reload to bypass the service worker as to ensure that the remaining tab isn't under the control of a service worker
  • Hit reload to let the newer version of the Service Worker control the page.

If you find anything to still be stale, you can also try navigating to chrome:serviceworker-internals (in Chrome), finding the relevant Service Worker entry for your application and clicking 'Unregister' before refreshing your app. This will (of course) only clear it from the local development machine. If you have already deployed to production then further work will be necessary to remove it from your user's machines.

Disable Service Worker support after you enabled it

If for any reason you need to disable Service Worker support after previously enabling it, you can remove it from your Polymer Starter Kit project using these 4 steps:

  1. Remove references to the platinum-sw elements from your application index.
  2. Remove the two Platinum Service Worker elements (platinum-sw/..) in app/elements/elements.html
  3. Remove 'precache' from the list in the 'default' gulp task (gulpfile.js)
  4. Navigate to chrome://serviceworker-internals and unregister any Service Workers registered by Polymer Starter Kit for your app just in case there's a copy of it cached.

Yeoman support

generator-polymer now includes support for Polymer Starter Kit out of the box.

Frequently Asked Questions

Where do I customise my application theme?

Theming can be achieved using CSS Custom properties via app/styles/app-theme.html. You can also use app/styles/main.css for pure CSS stylesheets (e.g for global styles), however note that Custom properties will not work there under the shim.

A Polycast is also available that walks through theming using Polymer 1.0.

Where do I configure routes in my application?

This can be done via app/elements/routing.html. We use Page.js for routing and new routes can be defined in this import. We then toggle which <iron-pages> page to display based on the selected route.

Why are we using Page.js rather than a declarative router like <more-routing>?

<more-routing> (in our opinion) is good, but lacks imperative hooks for getting full control over the routing in your application. This is one place where a pure JS router shines. We may at some point switch back to a declarative router when our hook requirements are tackled. That said, it should be trivial to switch to <more-routing> or another declarative router in your own local setup.

Where can I find the application layouts from your Google I/O 2015 talk?

App layouts live in a separate repository called app-layout-templates. You can select a template and copy over the relevant parts you would like to reuse to Polymer Starter Kit.

You will probably need to change paths to where your Iron and Paper dependencies can be found to get everything working. This can be done by adding them to the elements.html import.

Something has failed during installation. How do I fix this?

Our most commonly reported issue is around system permissions for installing Node.js dependencies. We recommend following the fixing npm permissions guide to address any messages around administrator permissions being required. If you use sudo to work around these issues, this guide may also be useful for avoiding that.

If you run into an exception that mentions five optional dependencies failing (or an EEXIST error), you may have run into an npm bug. We recommend updating to npm 2.11.0+ to work around this. You can do this by opening a Command Prompt/terminal and running npm install [email protected] -g. If you are on Windows, Node.js (and npm) may have been installed into C:\Program Files\. Updating npm by running npm install [email protected] -g will install npm into %AppData%\npm, but your system will still use the npm version. You can avoid this by deleting your older npm from C:\Program Files\nodejs as described here.

If the issue is to do with a failure somewhere else, you might find that due to a network issue a dependency failed to correctly install. We recommend running npm cache clean and deleting the node_modules directory followed by npm install to see if this corrects the problem. If not, please check the issue tracker in case there is a workaround or fix already posted.

I'm having trouble getting Vulcanize to fully build my project on Windows. Help?

Some Windows users have run into trouble with the elements.vulcanized.html file in their dist folder not being correctly vulcanized. This can happen if your project is in a folder with a name containing a space. You can work around this issue by ensuring your path doesn't contain one.

There is also an in-flight issue where some are finding they need to disable the inlineCss option in our configuration for Vulcanize to correctly build. We are still investigating this, however for the time-being use the workaround if you find your builds getting stuck here.

How do I add new JavaScript files to Starter Kit so they're picked up by the build process?

At the bottom of app/index.html, you will find a build block that can be used to include additional scripts for your app. Build blocks are just normal script tags that are wrapped in a HTML comment that indicates where to concatenate and minify their final contents to.

Below, we've added in script2.js and script3.js to this block. The line <!-- build:js scripts/app.js --> specifies that these scripts will be squashed into scripts/app.js during a build.

<!-- build:js scripts/app.js -->
<script src="scripts/app.js"></script>
<script src="scripts/script2.js"></script>
<script src="scripts/script3.js"></script>
<!-- endbuild-->

If you are not using the build-blocks, but still wish for additional files (e.g scripts or stylesheets) to be included in the final dist directory, you will need to either copy these files as part of the gulpfile.js build process (see the copy task for how to automate this) or manually copy the files.

I'm finding the installation/tooling here overwhelming. What should I do?

Don't worry! We've got your covered. Polymer Starter Kit tries to offer everything you need to build and optimize your apps for production, which is why we include the tooling we do. We realise however that our tooling setup may not be for everyone.

If you find that you just want the simplest setup possible, we recommend using Polymer Starter Kit light, which is available from the Releases page. This takes next to no time to setup.

If you require more granular configuration of Vulcanize than polybuild provides you an option by:

  1. Copy code below
  2. Then replace gulp.task('vulcanize', function () {... entire gulp vulcanize task code in gulpfile.js
// Vulcanize granular configuration
gulp.task('vulcanize', function () {
  var DEST_DIR = 'dist/elements';
  return gulp.src('dist/elements/elements.vulcanized.html')
    .pipe($.vulcanize({
      stripComments: true,
      inlineCss: true,
      inlineScripts: true
    }))
    .pipe(gulp.dest(DEST_DIR))
    .pipe($.size({title: 'vulcanize'}));
});

Contributing

Polymer Starter Kit is a new project and is an ongoing effort by the Web Component community. We welcome your bug reports, PRs for improvements, docs and anything you think would improve the experience for other Polymer developers.

Archival Note

This repository is deprecated; therefore, we are going to archive it. However, learners will be able to fork it to their personal Github account but cannot submit PRs to this repository. If you have any issues or suggestions to make, feel free to:

exoplanet-explorer's People

Contributors

cameronwp avatar sudkul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

exoplanet-explorer's Issues

Polymer / pwa-starter-kit is no longer supported and has been archived

This project uses the pwa-starter-kit as the bases for the work outlined in the Udacity JavaScript Promise class. However the pwa-starter-kit is no longer under development and has been outdated.


This project is no longer under development.

If you're interested in continuing to use PWA Starter Kit, feel free to fork and modify it as you like.

If you want to start a new application project using LitElement, the open-wc application scaffold generator is one good starting point.```

Gulp 4 issues

Using the initial dependencies, I got an error that, according to some reason, is related incompatibilities between versions of packages.

I've updated all dependencies and I'm facing another error AssertionError [ERR_ASSERTION]: Task function must be specified. Apparently, updating from Gulp 3 to 4, the gulpfile.js needs to be updated.

I've tried to fix the gulp.task but I ended up having a similar error for the default task.

Has anyone been able to solve this problem yet? Can you @cameronwp or anyone from Udacity please update this repo?

Update the codebase

This repo was last update in 2015 and it have been 5 years till now and a lot of things have changed. Following are some errors which should be fixed -

  1. There are a lot of old and depreciated dependencies used on this project. I get tons of npm WARN depreciated errors on installation. I even get errors that things may break on node 14+.
  2. The gulpfile.js is not compatible with gulp 4 and I get many errors in gulp serve and the project simply does not start.

Due to these errors, we are not able to complete the course. @cameronwp kindly look into the matter and do the needful as soon as possible.

Selenium-Standalone installation fails - `gulp serve` fails to start.

During npm install, the selenium-standalone installation fails and throws a reference error.
See below:

----------
selenium-standalone installation starting
----------

---
selenium install:
from: http://selenium-release.storage.googleapis.com/2.47/selenium-server-standalone-2.47.1.jar
to: C:\<redacted>\exoplanet-explorer\node_modules\wct-local\node_modules\selenium-standalone\.selenium\selenium-server\2.47.1-server.jar
---
chrome install:
from: http://chromedriver.storage.googleapis.com/2.18/chromedriver_win32.zip
to: C:\<redacted>\exoplanet-explorer\node_modules\wct-local\node_modules\selenium-standalone\.selenium\chromedriver\2.18-x64-chromedriver
---
ie install:
from: http://selenium-release.storage.googleapis.com/2.47/IEDriverServer_x64_2.47.0.zip
to: C:<redacted>\exoplanet-explorer\node_modules\wct-local\node_modules\selenium-standalone\.selenium\iedriver\2.47.0-x64-IEDriverServer.exe
fs.js:27
const { Math, Object } = primordials;
                         ^

ReferenceError: primordials is not defined
    at fs.js:27:26
    at req_ (C:\<redacted>\exoplanet-explorer\node_modules\natives\index.js:143:24)
    at Object.req [as require] (C:\<redacted>\exoplanet-explorer\node_modules\natives\index.js:55:10)
    at Object.<anonymous> (C:\<redacted>\exoplanet-explorer\node_modules\fstream\node_modules\graceful-fs\fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:868:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:879:10)
    at Module.load (internal/modules/cjs/loader.js:731:32)
    at Function.Module._load (internal/modules/cjs/loader.js:644:12)
    at Module.require (internal/modules/cjs/loader.js:771:19)
    at require (internal/modules/cjs/helpers.js:68:18)
npm WARN rollback Rolling back [email protected] failed (this is probably harmless): EPERM: operation not permitted, rmdir 'C:\<redacted>\exoplanet-explorer\node_modules\fsevents\node_modules'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\wct-local):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] postinstall: `node scripts/postinstall.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

Everything else executes without error, however when running gulp serve, gulp will not run and an error is thrown.

assert.js:373
    throw err;
    ^

AssertionError [ERR_ASSERTION]: Task function must be specified
    at Gulp.set [as _setTask] (C:\<redacted>\exoplanet-explorer\node_modules\undertaker\lib\set-task.js:10:3)
    at Gulp.task (C:\<redacted>\exoplanet-explorer\node_modules\undertaker\lib\task.js:13:8)
    at Object.<anonymous> (C:\<redacted>\exoplanet-explorer\gulpfile.js:179:6)
    at Module._compile (internal/modules/cjs/loader.js:777:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:788:10)
    at Module.load (internal/modules/cjs/loader.js:643:32)
    at Function.Module._load (internal/modules/cjs/loader.js:556:12)
    at Module.require (internal/modules/cjs/loader.js:683:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at execute (C:\<redacted>\AppData\Roaming\npm\node_modules\gulp\node_modules\gulp-cli\lib\versioned\^4.0.0\index.js:36:18) {
  generatedMessage: false,
  code: 'ERR_ASSERTION',
  actual: false,
  expected: true,
  operator: '=='
}

I'd really like to see this course updated

This is obviously not being actively maintained, yet it's a key resource for Google Developer Certifications and Udacity. Can we see this updated to modern web standards?

Installation problem

Hello.
I did already repeated installation four times, installing all dependencies, followin lloan instructions.

guulp sreve does not generate errors. In the browser, I can see header with blue background, like this:
captura

This is my installation log:
exoplanet_installation.txt

However there is gyp error during installation.
Please help,

Git Clone <url> only pulled one branch

Hello I am setting up the exoplanet-explorer project on my machine, and everything is installing just fine. I have localhost up and running with the project, but it seems as though when I ran (git clone https://github.com/udacity/exoplanet-explorer.git) It only pulled one branch (xhr-start). All the other branches are not there. Running (git branch -a) gave me only the (xhr-start) branch. Am I missing something?

gulp serve doesn't work

gulp serve doesn't work

node -v && npm -v
v8.11.4
6.4.1

npm outdate

Package               Current  Wanted  Latest  Location
del                     1.2.1   1.2.1   3.0.0
glob                   5.0.15  5.0.15   7.1.3
gulp-autoprefixer       2.3.1   2.3.1   6.0.0
gulp-cache             0.2.10  0.2.10   1.0.2
gulp-changed            1.3.2   1.3.2   3.2.0
gulp-cssmin             0.1.7   0.1.7   0.2.0
gulp-if                 1.2.5   1.2.5   2.0.2
gulp-imagemin           2.4.0   2.4.0   4.1.0
gulp-jshint            1.12.0  1.12.0   2.1.0
gulp-load-plugins      0.10.0  0.10.0   1.5.0
gulp-replace            0.5.4   0.5.4   1.0.0
gulp-size               1.3.0   1.3.0   3.0.0
gulp-uglify             1.5.4   1.5.4   3.0.1
gulp-useref             1.3.0   1.3.0   3.1.5
gulp-vulcanize          6.1.0   6.1.0   7.0.0
merge-stream            0.1.8   0.1.8   1.0.1
require-dir             0.3.2   0.3.2   1.0.0
run-sequence            1.2.2   1.2.2   2.2.1
web-component-tester    3.4.2   3.4.2   6.8.0

After: gulp serve

node_modules/vinyl/index.js:153 if (!this.path) throw new Error('No path specified! Can not get relative.');

Error not catched in Fetch API exercise solution (1.12)

This catch is not triggered when the URL passed to getJSON is wrong. Instead, the execution goes into the first then which triggers the following error:

SyntaxError: Unexpected token C

I've found that that is a result of our response.json() in getJSON because we're trying to parse what is already a JSON object. So the solution is we need to catch this error after the response.json(), something like this:

diff --git a/app/scripts/app.js b/app/scripts/app.js
index fad2918..ab505dd 100644
--- a/app/scripts/app.js
+++ b/app/scripts/app.js
@@ -39,7 +39,9 @@ Instructions:
    */
   function getJSON(url) {
     return get(url).then(function(response) {
-      return response.json();
+      return response.json().catch(function() {
+        return Error('Network Error');
+      });
     });
   }

I'm a super noob about Promises and the Fetch API, so I had to find the idea of catching a response.json() call from this @jakearchibald post. Probably there's even a better way to catch this, so please let me know.

Thanks for the course, so far so good! ๐Ÿ˜Š

Update

Hey gang. I see all the dependency issues y'all are having here. Unfortunately, I left Udacity a few years ago. I'm getting in touch with folks there to find out what they want to do about this project. Hang tight! In the meantime, this is a great guide to promises.

bower is deprecated

This project is seriously out of date. These project is referenced in the Udacity Java Promises class. Being so out of date students have to struggle to attempt to fix and cobble things together in an attempt to get things working. If they are even able to.

Using out of date components makes it difficult to get things to work

npm WARN deprecated [email protected]: We don't recommend using Bower for new projects. Please consider Yarn and Webpack or Parcel. You can read how to migrate legacy project here: https://bower.io/blog/2017/how-to-migrate-away-from-bower/

This code base should be updated to make it possible for students to follow the directions the JavaScript Promises course outlines.

Error when gulp serve

Hi, I was watching your course at udacity about promise, and the xhr-start branch I get this error when I try to serve with gulp.

  • vinyl version 0.5.3
  • nodejs version 6.3.1
  • npm version 3.10.3
[12:47:40] Using gulpfile ~/workspace/HTML/exoplanet-explorer/gulpfile.js
[12:47:40] Starting 'styles'...
[12:47:41] Starting 'elements'...
[12:47:41] Starting 'images'...
[12:47:41] Finished 'elements' after 189 ms
~/workspace/HTML/exoplanet-explorer/node_modules/vinyl-fs/node_modules/vinyl/index.js:153
    if (!this.path) throw new Error('No path specified! Can not get relative.');
                    ^

Error: No path specified! Can not get relative.
    at File.Object.defineProperty.get (
~/workspace/HTML/exoplanet-explorer/node_modules/vinyl-fs/node_modules/vinyl/index.js:153:27)
    at DestroyableTransform.saveFile [as _transform] (~/workspace/HTML/exoplanet-explorer/node_modules/vinyl-fs/lib/dest/index.js:36:48)
    at DestroyableTransform.Transform._read (~/workspace/HTML/exoplanet-explorer/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_transform.js:184:10)
    at DestroyableTransform.Transform._write (~/workspace/HTML/exoplanet-explorer/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_transform.js:172:12)
    at doWrite (~/workspace/HTML/exoplanet-explorer/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_writable.js:237:10)
    at clearBuffer (~/workspace/HTML/exoplanet-explorer/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_writable.js:316:5)
    at onwrite (~/workspace/HTML/exoplanet-explorer/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_writable.js:274:7)
    at WritableState.onwrite (~/workspace/HTML/exoplanet-explorer/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_writable.js:106:5)
    at afterTransform (~/workspace/HTML/exoplanet-explorer/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_transform.js:104:5)
    at TransformState.afterTransform (~/workspace/HTML/exoplanet-explorer/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_transform.js:79:12)
    at done (~/workspace/HTML/exoplanet-explorer/node_modules/vinyl-fs/lib/dest/writeContents/index.js:11:7)
    at FSReqWrap.oncomplete (fs.js:123:15)

any solution for this?

Install without Issues

Here are the instructions to get this project up and running. Hope this saves someone some time!

Note: As pointed out by @breinert, you must be running your terminal with admin rights.

Instructions: (this will also download polymer starter kit and install it)

Reference: https://stackoverflow.com/questions/50281186/my-local-server-cant-find-bower-files-when-i-run-my-application/50997199#50997199

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.