diff --git a/lib/run-jsdoc.js b/lib/run-jsdoc.js
index <HASH>..<HASH> 100644
--- a/lib/run-jsdoc.js
+++ b/lib/run-jsdoc.js
@@ -12,7 +12,7 @@ var path = require('path')
   , log = require('npmlog')
   , run = require('./run')
 
-var jsdocpackfile = require.resolve('../node_modules/jsdoc/package.json')
+var jsdocpackfile = path.join(__dirname, '..', 'node_modules', 'jsdoc', 'package.json')
   , jsdocpack = require(jsdocpackfile)
   , jsdoc = path.resolve(path.dirname(jsdocpackfile), jsdocpack.bin.jsdoc)
attempt at fixing jsdoc resolve