   a symlink in the folder of the project
   ###
   @_copyDependencies = (pkg, cb) =>
-    moduleNames = _.union(Object.keys(pkg.devDependencies), Object.keys(pkg.dependencies))
-    app_node    = path.resolve SCOPE.APP, 'node_modules'
-    fs.mkdirsSync app_node
+    # get the names of the dependencies
+    moduleNames     = _.union(Object.keys(pkg.devDependencies), Object.keys(pkg.dependencies))
+    appDependencies = path.resolve SCOPE.APP, 'node_modules'
+    fs.mkdirsSync appDependencies
 
     for moduleName in moduleNames
       try

    ], arguments)

    @_changePath args.dir


    Sails().lift args.options, (err, sails) ->
      if args.done?



  @_resolvePath: (name) ->
    # first try to resolve the dependency locally
    return "#{localDependecies}/#{name}" if fs.existsSync("#{localDependecies}/#{name}")

    # second, try to resolve in global mode
    result = @execute "which #{name}"
    return null if result.code isnt 0

    result = @execute "which #{name}"

    if result.stdout[result.stdout.length-1] is '\n'
      result.stdout = result.stdout.substring(0, result.stdout.length - 1)

    fileType = fs.lstatSync(result.stdout)
    path.join fs.realpathSync(result.stdout), '../..' if fileType.isSymbolicLink()


  ###
