require dependency was leading to errors in dev