felt icon indicating copy to clipboard operation
felt copied to clipboard

Build errors fail silently

Open shawnbot opened this issue 9 years ago • 5 comments
trafficstars

Build errors (apparently from missing modules, but I assume that there are lots of other causes) seem to result in a bad build that fails silently. The "bad build" in my case always results in the source files being copied as-is to the destination directory, which is worse (IMO) than not copying anything. 😢

shawnbot avatar Aug 24 '16 22:08 shawnbot

Hi @shawnbot, could you pls provide the recipe or repo? I'd like to have a look at the issue.

cognitom avatar Aug 29 '16 03:08 cognitom

Reminder for me. These lines should be wrapped by catch blocks: https://github.com/cognitom/felt/blob/v0.2.5/lib/handler.js#L88 https://github.com/cognitom/felt-rollup/blob/v0.1.2/index.js#L42

cognitom avatar Aug 29 '16 03:08 cognitom

Hi @cognitom, here's the recipe: felt-recipe-18F. I haven't published it yet, so your best bet is to install it with:

npm install github:18F/felt-recipe-18F

shawnbot avatar Aug 29 '16 19:08 shawnbot

@shawnbot thanks, great. Will try it.

cognitom avatar Aug 30 '16 00:08 cognitom

Er, you will also need to npm install github:18F/felt-sass too, which the recipe depends on.

shawnbot avatar Aug 30 '16 20:08 shawnbot