Callback with err if unable to parse dependencies.