PATH: //opt/alt/alt-nodejs12/root/lib/node_modules/npm/lib/doctor
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 check-files-permission.js
↓
X
📄 check-ping.js
↓
X
📄 get-git-path.js
↓
X
📄 get-latest-nodejs-version.js
↓
X
📄 get-latest-npm-version.js
↓
X
📄 verify-cached-files.js
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: get-git-path.js
var log = require('npmlog') var which = require('which') function getGitPath (cb) { var tracker = log.newItem('getGitPath', 1) tracker.info('getGitPath', 'Finding git in your PATH') which('git', function (err, path) { tracker.finish() cb(err, path) }) } module.exports = getGitPath
SIMPAN PERUBAHAN