diff --git a/react-packager/src/DependencyResolver/haste/DependencyGraph/index.js b/react-packager/src/DependencyResolver/haste/DependencyGraph/index.js index 6f09c5e8..00c4a5c5 100644 --- a/react-packager/src/DependencyResolver/haste/DependencyGraph/index.js +++ b/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;