Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

joshuaf's avatar

Error upgrading to version 6 - Github token?

I upgraded laravel spark to version six and connected to the github repo on the site. Everything seemed to go OK on the npm install command, but when I ran the npm run dev, I got a slew of errors that basically told me that things related to spark were not found. Seems to be related to the new mix stuff? Do I need a new github token?

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 ....

It suggested that I install these dependencies but running those commands resulting in an error that seems like I am being denied access to the github repo.

Error while executing: npm ERR! /usr/bin/git ls-remote -h -t ssh://[email protected]/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.

I bet that there is a connection on github somewhere that I am missing. I connected to the repo on the site ... Suggestions?

0 likes
0 replies

Please or to participate in this conversation.