Propagate error to require js.