【发布时间】:2018-08-26 02:55:00
【问题描述】:
我将 laravel spark 升级到版本 6 并连接到网站上的 github repo。在 npm install 命令上一切似乎都正常,但是当我运行 npm run dev 时,我得到了一系列错误,基本上告诉我没有找到与 spark 相关的东西。似乎与新的混合材料有关?我需要一个新的 github 令牌吗?
These dependencies were not found:
* auth/register-braintree in ./resources/assets/js/spark-components/auth/register-braintree.js
* auth/register-stripe in ./resources/assets/js/spark-components/auth/register-stripe.js
* kiosk/add-discount in ./resources/assets/js/spark-components/kiosk/add-discount.js
....
它建议我安装这些依赖项,但运行这些命令会导致错误,似乎我被拒绝访问 github 存储库。
Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/auth/register-braintree.git
npm ERR!
npm ERR! Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.
npm ERR! Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
我敢打赌,在 github 上的某个地方我缺少一个连接。我连接到网站上的 repo ...
【问题讨论】:
标签: laravel github laravel-spark