PolymerElements / app-route

A modular client-side router
https://www.polymer-project.org/1.0/articles/routing.html
146 stars 66 forks source link

app-location.html, app-router-converter-behavior.html, app-route-converter.html etc files are missing after bower install #215

Closed saadixl closed 6 years ago

saadixl commented 6 years ago

Description

I tried to install app-route using bower install app-route --save on Polymer 1.9.1. After installation I found out that, app-location.html, app-router-converter-behavior.html, app-route-converter.html etc files are missing under /bower_components/app-route.

Expected outcome

Expected all the missing files inside the directory

Actual outcome

app-location.html, app-router-converter-behavior.html, app-route-converter.html etc files were missing

Steps to reproduce

ernsheong commented 6 years ago

Have you tried clearing out your bower_components folder and retrying?

saadixl commented 6 years ago

Yeah I removed the bower_components and tried again. But didn't work. Screenshot attached:

screen shot 2017-10-15 at 8 31 40 pm
ernsheong commented 6 years ago

The latest release of bower is 1.8.2. Check with bower --version and make sure you have the latest version. Update with npm i -g bower

In the meantime, you can download the release manually from https://github.com/PolymerElements/app-route/releases and get on with life.

NeilujD commented 6 years ago

@saadixl I think you should install this element via bower install --save PolymerElements/app-route command instead and remove the line "app-route": "^[version]" in your bower.json file.

saadixl commented 6 years ago

bower install --save PolymerElements/app-route worked. Thanks for helping 🙂