diff --git a/build/post-install.js b/build/post-install.js index 89bcebbe4..7c35bf456 100644 --- a/build/post-install.js +++ b/build/post-install.js @@ -61,6 +61,7 @@ npm.load({ 'global': true }, function(exception) { + console.log(path.resolve(basePath, '..'), npm.root); if (exception) { process.stderr.write('There was a problem loading the npm registry.'); process.exit(1); diff --git a/package.json b/package.json index dd6fa273c..b59d01517 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,9 @@ "dependencies": { "tar": "~0.1.13" }, + "devDependencies": { + "npm": "~1.1.63" + }, "bugs": { "url": "https://github.com/bestiejs/lodash/issues" },