Node reports an error when downloading gitlab project with download-git-rep

node download gitlab with download-git-rep

gitlab is your own domain name, not gitlab.com
an error was reported when downloading using download-git-rep. Use the ssh method to download
use http to report 404

const download = require("download-git-repo");

module.exports = function (name) {
  return new Promise((resolve, reject) => {
    download("git@112.124.51.62:h5/Vue-template.git", name, {clone: true}, (err) => {
      if (err) {
        reject(err)
      } else {
        resolve(target)
      }
    })
  })
}
error 128 while using clone

clipboard.png

{clone: true}

clipboard.png

using git clone git@112.124.51.62:h5/Vue-template.git on the terminal can be cloned to the local
Jun.08,2021

I used Direct to configure git full path, the command can be executed, but there is no download content, it is still empty.


Hello, how did you solve it? I have also encountered this problem recently

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bd271a-30e07.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bd271a-30e07.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?