| Software: Apache. PHP/5.3.29 uname -a: Linux tardis23.nocplanet.net 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 
 Safe-mode: OFF (not secure) /lib/node_modules/npm/lib/install/action/   drwxr-xr-x | |
| Viewing file: Select action/file-type: 'use strict'
var path = require('path')
var npm = require('../../npm.js')
var Installer = require('../../install.js').Installer
var packageId = require('../../utils/package-id.js')
var moduleName = require('../../utils/module-name.js')
module.exports = function (staging, pkg, log, next) {
  log.silly('global-install', packageId(pkg))
  var globalRoot = path.resolve(npm.globalDir, '..')
  npm.config.set('global', true)
  var install = new Installer(globalRoot, false, [moduleName(pkg) + '@' + pkg.package._requested.rawSpec])
  install.link = false
  install.run(function () {
    npm.config.set('global', false)
    next.apply(null, arguments)
  })
}
 | 
| :: Command execute :: | |
| --[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0156 ]-- |