报错fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported.

初始化项目的时候,
把svn没传的node_modules复制粘贴过去后,

npm i

报错fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported.

git config --global url."https://".insteadOf. git://
error: key does not contain variable name: url.https://.insteadOf.

手打会出错,博主博客有可能也会有问题,要看清楚,用下面这个!!!没点的

git config --global url."https://".insteadOf git://

你可能感兴趣的:(前端,git,javascript)