diff --git a/bin/resin-write b/bin/resin-write
index 63686256..00c0692d 100644
--- a/bin/resin-write
+++ b/bin/resin-write
@@ -4,7 +4,7 @@
 require('coffee-script/register');
 
 var device = require('../lib/actions/device.coffee');
-var errors = require('../lib/errors/errors');
+var errors = require('../lib/errors');
 
 // TODO: Do some error handling when image or device are incorrect