diff --git a/bin/component-build b/bin/component-build index 02d3dcbc..c8db7328 100755 --- a/bin/component-build +++ b/bin/component-build @@ -47,6 +47,8 @@ program.parse(process.argv); var conf = require(path.resolve('component.json')); +if(!conf.name) throw new Error("This component is missing a name."); + // standalone var standalone = program.standalone;