       installStatus[index] = 1
       npm.load npmConfig, (err) ->
         npm.commands.install [name], (er, data) ->
-          callback(index)
+          callback(index, er)
       @setState {installStatus}
   solveUpdate: (updateData, isfirst) ->
     latest = @state.latest

                           pulse={@state.updatingAll}/>
              <span> {__ "Update all"}</span>
            </Button>
            <Button onClick={@handleInstallAll.bind(@, @handleInstallAllComplete)}
                    disabled={@state.installing}
                    className="control-button"
                    style={width: '33%'}>

          toUpdate.push plugin.packageName
      npm.load npmConfig, (err) ->
        npm.commands.update toUpdate, (er, data) ->
          callback(er)
      @setState
        updating: updating
        updatingAll: true
