Error with path, but finds resources anyway
kenchris opened this issue · 2 comments
kenchris commented
The imports in the files are like this:
<link rel="import" href="../../bower_components/polymer/polymer.html">
<link rel="import" href="../../bower_components/paper-styles/paper-styles.html">
<link rel="import" href="../../bower_components/paper-dialog-scrollable/paper-dialog-scrollable.html">
<link rel="import" href="../../bower_components/paper-dialog-behavior/paper-dialog-behavior.html">
<link rel="import" type="css" href="../../bower_components/paper-dialog-behavior/paper-dialog-common.css">
<script src="../../bower_components/quagga/dist/quagga.min.js" type="text/javascript"></script>
But it seems like it only goes back one directory (../) instead of two (../../):
webnfc-shoppingcart-demo (master)$ http2-push-manifest -f static/elements/write-dialog/write-dialog.html
ERROR finding /home/kenneth/repo/webnfc-shoppingcart-demo/static/elements/write-dialog/bower_components/quagga/dist/quagga.min.js
ERROR finding /home/kenneth/repo/webnfc-shoppingcart-demo/static/elements/write-dialog/bower_components/polymer/polymer.html
ERROR finding /home/kenneth/repo/webnfc-shoppingcart-demo/static/elements/write-dialog/bower_components/paper-styles/paper-styles.html
ERROR finding /home/kenneth/repo/webnfc-shoppingcart-demo/static/elements/write-dialog/bower_components/paper-dialog-scrollable/paper-dialog-scrollable.html
ERROR finding /home/kenneth/repo/webnfc-shoppingcart-demo/static/elements/write-dialog/bower_components/paper-dialog-behavior/paper-dialog-behavior.html
ERROR finding /home/kenneth/repo/webnfc-shoppingcart-demo/static/elements/write-dialog/bower_components/paper-dialog-behavior/paper-dialog-common.css
Found 6 resource URLs in write-dialog.html:
/bower_components/paper-dialog-behavior/paper-dialog-common.css
/bower_components/quagga/dist/quagga.min.js
/bower_components/paper-dialog-behavior/paper-dialog-behavior.html
/bower_components/paper-dialog-scrollable/paper-dialog-scrollable.html
/bower_components/paper-styles/paper-styles.html
/bower_components/polymer/polymer.html
Wrote push_manifest.json
ebidel commented
Is it possible for you to attach a small .zip of a directory structure that repos the problem?
kenchris commented
The code is here https://github.com/01org/webnfc-shoppingcart-demo
Running gulp copies the files to static/ but you should be able to test with app/ as well