Closed tazmaniax closed 8 years ago
Sorry, this is works as designed. A file which will fail with Stout would 404 if your site was actually deployed.
But this is file that would never be called on the client side. Just happens to be included in the distribution package.
Ah, this generally happens when Stout is building HTML files you don't need it to be building. I would look into the files
command line or config file option, which will allow you to have it ignore your bower_components
folder.
I thought had checked the config options but I'll check again, thx
Hi, it looks like if a referred to JavaScript file can't be found then the deploy is halted. Is it possible to ignore this situation and continue with the deployment? I'm probably including more files than necessary but probably won't do any harm. Is there a way to exclude specific files or directories?
thanks
$ stout deploy --env staging panic: open app/bower_components/lodash/node_modules/platform/platform.js: no such file or directory
goroutine 1 [running]: panic(0x44fe40, 0xc8202f0e10) /usr/local/go/src/runtime/panic.go:481 +0x3e6 main.must(0x4e2b20, 0x0, 0x8949f8, 0xc8202f0e10, 0x0, 0x0) /Users/zack/s/Stout/src/utils.go:86 +0x57 main.hashFile(0xc82029d2c0, 0x3d, 0x0, 0x0, 0x0) /Users/zack/s/Stout/src/deploy.go:48 +0x1d4 main.hashFiles(0xc8202fa000, 0x2a, 0x40, 0x0, 0x0) /Users/zack/s/Stout/src/deploy.go:66 +0x11a main.Deploy(0x4f6120, 0x1, 0xc82001146c, 0x4, 0x4f62e8, 0x2, 0x0, 0x0, 0x7fff5fbffc7b, 0x7, ...) /Users/zack/s/Stout/src/deploy.go:572 +0x15f7 main.deployCmd() /Users/zack/s/Stout/src/deploy.go:626 +0x137 main.main() /Users/zack/s/Stout/src/cli.go:39 +0x3e3