diff --git a/packager/react-packager/src/DependencyResolver/haste/DependencyGraph/index.js b/packager/react-packager/src/DependencyResolver/haste/DependencyGraph/index.js index 6f09c5e88..00c4a5c5c 100644 --- a/packager/react-packager/src/DependencyResolver/haste/DependencyGraph/index.js +++ b/packager/react-packager/src/DependencyResolver/haste/DependencyGraph/index.js @@ -713,6 +713,6 @@ function NotFoundError() { this.status = 404; } -NotFoundError.__proto__ = Error.prototype; +util.inherits(NotFoundError, Error); module.exports = DependecyGraph;