Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EACESS on trying to deploy functions #177

Open
dkhizhniakov opened this issue Jan 19, 2023 · 0 comments
Open

EACESS on trying to deploy functions #177

dkhizhniakov opened this issue Jan 19, 2023 · 0 comments

Comments

@dkhizhniakov
Copy link

Hi,
I'm facing an issue when try to deploy functions.
Here's the part of github yaml file that I use

  deployFunctions:
    name: Deploy functions
    needs: buildFunctions
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repo
        uses: actions/checkout@master
      - name: Download functions artifacts
        uses: actions/download-artifact@master
        with:
          name: functions
          path: functions
      - name: Deploy functions to Firebase
        uses: w9jds/firebase-action@master
        with:
          args: deploy --only functions --debug
        env:
          GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }}

On run this ends up with the following error:

[2023-01-19T08:49:10.419Z] Error: spawn ./node_modules/.bin/firebase-functions EACCES
    at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:478:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

Error: An unexpected error has occurred.

Just in case it matters - I use firebase-functions v.4.1.1

What can I do to resolve the issue?
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant