Can't change the preview branch in Vue.js with Github Pages

I’m trying to get my project deployed, but I got an error when gh-pages commit to update Github Pages website after a commit from github-actions:

sh: line 1: vue-cli-service: command not found
Error: Command "vue-cli-service build" exited with 127

I can’t change the preview branch which is gh-pages

Current versus Expected behavior

Expected behavior:
Successfully deployed the website from Vercel

Current behavior:

Error message saying:

sh: line 1: vue-cli-service: command not found
Error: Command "vue-cli-service build" exited with 127

Code, configuration, and steps that reproduce this issue

Added vue-cli-service in package.json in master branch.

Hey @lulunac27a. I’m not sure I follow what you’re doing with GitHub Pages and Vercel. Can you walk me through your workflow step by step?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.