Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/39.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js 主机密钥验证失败。致命:无法从远程存储库读取。GitHub页面_Node.js_Git_Npm - Fatal编程技术网

Node.js 主机密钥验证失败。致命:无法从远程存储库读取。GitHub页面

Node.js 主机密钥验证失败。致命:无法从远程存储库读取。GitHub页面,node.js,git,npm,Node.js,Git,Npm,我在使用“npm运行部署”时遇到以下错误。此回购协议是使用https克隆的 更新:在远程设置url的快速修订之后,它似乎正在工作。未使用SSH选项克隆repo,因此远程设置url需要相应的“https://”。祝你今天愉快 我更改了“git远程设置url源”git@github.com!laurenwatkins!laurenwatkins.github.io“ 到git远程设置url源 更新:在远程设置url的快速修订之后,它似乎正在工作。未使用SSH选项克隆repo,因此远程设置url需要相

我在使用“npm运行部署”时遇到以下错误。此回购协议是使用https克隆的


更新:在远程设置url的快速修订之后,它似乎正在工作。未使用SSH选项克隆repo,因此远程设置url需要相应的“https://”。祝你今天愉快

我更改了“git远程设置url源”git@github.com!laurenwatkins!laurenwatkins.github.io“

到git远程设置url源


更新:在远程设置url的快速修订之后,它似乎正在工作。未使用SSH选项克隆repo,因此远程设置url需要相应的“https://”。祝你今天愉快

更改了以下“git远程设置url来源”

以前的URL(错误):git@github.com!laurenwatkins!laurenwatkins.github.io“


更新的URL(工作):git remote set URL origin

您是否尝试从帖子的最后一行查找日志文件?@zed_0xff是。我没有看到任何需要修改的注释。@zed\u 0xff有什么想法吗?
> saadpasta.github.io@0.1.0 deploy C:\Users\laurenwatkins\Software\developerFolio
> gh-pages -b master -d build

Cloning into 'node_modules\gh-pages\.cache\git@github.com!laurenwatkins!laurenwatkins.github.io'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! saadpasta.github.io@0.1.0 deploy: `gh-pages -b master -d build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the saadpasta.github.io@0.1.0 deploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\laurenwatkins\AppData\Roaming\npm-cache\_logs\2020-02-13T11_07_18_464Z-debug.log