error when pnpm install
(vimo) jct@DNA-LAB-4090-Server1:~/code/VideoRAG/Vimo-desktop$ sudo pnpm install WARN deprecated [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options. ERROR Command failed with exit code 128: git fetch --depth 1 origin 06b29aafb7708acef8b3669835c8a7857ebc92d2 ssh: Could not resolve hostname github.com: Temporary failure in name resolution fatal: 无法读取远程仓库。
请确认您有正确的访问权限并且仓库存在。
This error happened while installing the dependencies of [email protected] at [email protected] at @electron/[email protected]
pnpm: Command failed with exit code 128: git fetch --depth 1 origin 06b29aafb7708acef8b3669835c8a7857ebc92d2 ssh: Could not resolve hostname github.com: Temporary failure in name resolution fatal: 无法读取远程仓库。
请确认您有正确的访问权限并且仓库存在。 at makeError (/root/.local/share/pnpm/.tools/pnpm/9.10.0/node_modules/pnpm/dist/pnpm.cjs:19451:17) at handlePromise (/root/.local/share/pnpm/.tools/pnpm/9.10.0/node_modules/pnpm/dist/pnpm.cjs:20022:33) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async execGit (/root/.local/share/pnpm/.tools/pnpm/9.10.0/node_modules/pnpm/dist/pnpm.cjs:115812:7) at async gitFetcher (/root/.local/share/pnpm/.tools/pnpm/9.10.0/node_modules/pnpm/dist/pnpm.cjs:115765:11) at async fetcher (/root/.local/share/pnpm/.tools/pnpm/9.10.0/node_modules/pnpm/dist/pnpm.cjs:134976:16) at async run (/root/.local/share/pnpm/.tools/pnpm/9.10.0/node_modules/pnpm/dist/pnpm.cjs:134426:23) Progress: resolved 657, reused 577, downloaded 0, added 0
git config --global url."https://github.com/".insteadOf git://github.com/
git config --global url."https://github.com/".insteadOf [email protected]:
Maybe it helps...