cloudflare / Stout

A reliable static website deploy tool
MIT License
751 stars 29 forks source link

Panic when opening files. #9

Closed dring1 closed 9 years ago

dring1 commented 9 years ago

Running into this issue on v1.1.1 - seems to be a similar issue as #5

panic: open dist/client/bower_components/angular-bootstrap-checkbox/bower_components/angular/angular.js: no such file or directory

The command I ran

stout deploy --bucket www/staging --key $AWS_ACCESS_KEY --secret $AWS_SECRET_KEY --root ./dist/client
zackbloom commented 9 years ago

This generally means one of your HTML files points to a JS or CSS file which doesn't exist. A common cause is you have HTML files being uploaded which you don't intend (for example, inside your bower_components folder). I suggest you use the --files option to restrict the HTML files uploaded to those you actually want.