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

[BUG] stream-json parse error #323

Open
Goldziher opened this issue Dec 4, 2023 · 0 comments
Open

[BUG] stream-json parse error #323

Goldziher opened this issue Dec 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Goldziher
Copy link

Goldziher commented Dec 4, 2023

Action config

            - uses: FirebaseExtended/action-hosting-deploy@v0
              if: ${{ inputs.is_preview == false }}
              with:
                  repoToken: '${{ secrets.GITHUB_TOKEN }}'
                  firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT }}'
                  projectId: '${{ secrets.NEXT_PUBLIC_FIREBASE_PROJECT_ID }}'
                  channelId: live

Error message

Error: Parser has expected a string value
      at Parser._processBuffer (/home/runner/.npm/_npx/ba4f1959e38407b5/node_modules/stream-json/Parser.js:205:45)
      at Parser._flush (/home/runner/.npm/_npx/ba4f1959e38407b5/node_modules/stream-json/utils/Utf8Stream.js:49:10)
      at Parser._flush (/home/runner/.npm/_npx/ba4f1959e38407b5/node_modules/stream-json/Parser.js:83:11)
      at Parser.final [as _final] (node:internal/streams/transform:132:10)
      at callFinal (node:internal/streams/writable:698:12)
      at prefinish (node:internal/streams/writable:710:7)
      at finishMaybe (node:internal/streams/writable:720:5)
      at Writable.end (node:internal/streams/writable:634:5)
      at Socket.onend (node:internal/streams/readable:716:10)
      at Object.onceWrapper (node:events:631:28)

Expected behavior

No parsing error.

Actual behavior

The stream-json library's parser is throwing an exception.

It might be related to this issue in the stream-json repo: uhop/stream-json#87

@Goldziher Goldziher added the bug Something isn't working label Dec 4, 2023
@Goldziher Goldziher changed the title [BUG] [BUG] stream-json parse error Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant