Permalink
Browse files

fix module npm dependencies install

  • Loading branch information...
1 parent d6bbede commit 915e826cb423429faf5f8315f7cceb591dc939c7 @Shogun147 committed Feb 1, 2014
Showing with 1 addition and 6 deletions.
  1. +1 −6 bin/modules
View
@@ -333,12 +333,7 @@ App.command('install <name> [url]')
if (isFile) { return next(); }
var Npm = require('npm');
- var options = {
- dir: Path.join(root, 'modules', name),
- loglevel: 'silent'
- }
-
- Npm.load(options, function(error, npm) {
+ Npm.load({ prefix: Path.join(root, 'modules', name) }, function(error, npm) {
if (error) { return next(error); }
npm.commands.install(next);

0 comments on commit 915e826

Please sign in to comment.