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

[Google Cloud Platform Search] ... error #14337

Closed
PhamQuang-512 opened this issue Sep 5, 2024 · 6 comments · Fixed by #14341
Closed

[Google Cloud Platform Search] ... error #14337

PhamQuang-512 opened this issue Sep 5, 2024 · 6 comments · Fixed by #14341
Labels
bug Something isn't working extension: gcp-search Issues related to the gcp-search extension extension Issues related to one of the extensions in the Store

Comments

@PhamQuang-512
Copy link

Extension

https://www.raycast.com/klaa97/gcp-search

Raycast Version

1.82.1

macOS Version

14.2.1

Description

Error:

RangeError: "length" is outside of buffer bounds

Buffer.utf8Write:buffer:1066:13
Sl.SD:searchProjects.js:5:28309
we.finish:searchProjects.js:5:27525
searchProjects.js:15:42847

Steps To Reproduce

  1. open extension gcp from raycast to seach
  2. can not seach

Current Behaviour

can not search for gcp project

Expected Behaviour

search for gcp project

@PhamQuang-512 PhamQuang-512 added bug Something isn't working extension Issues related to one of the extensions in the Store labels Sep 5, 2024
@raycastbot raycastbot added the extension: gcp-search Issues related to the gcp-search extension label Sep 5, 2024
@raycastbot
Copy link
Collaborator

Thank you for opening this issue!

🔔 @klaa97 @edomora97 @hisomura @m-gentil you might want to have a look.

💡 Author and Contributors commands

The author and contributors of klaa97/gcp-search can trigger bot actions by commenting:

  • @raycastbot close this issue Closes the issue.
  • @raycastbot close as not planned Closes the issue as not planned.
  • @raycastbot rename this issue to "Awesome new title" Renames the issue.
  • @raycastbot reopen this issue Reopens the issue.
  • @raycastbot assign me Assigns yourself to the issue.
  • @raycastbot good first issue Adds the "Good first issue" label to the issue.
  • @raycastbot keep this issue open Make sure the issue won't go stale and will be kept open by the bot.

@klaa97
Copy link
Contributor

klaa97 commented Sep 5, 2024

@pernielsentikaer Which version of Node is Raycast using? It appears that version 22.7.0 suffers from a critical error: nodejs/node#54518 tied to protobufs, and the problem seems similar here.

@gcar-bendingspoons
Copy link

gcar-bendingspoons commented Sep 5, 2024

Indeed the exception happens when initializing the google-cloud ProjectsClient here:

const client = new ProjectsClient();

I tried console.log(process.versions.node) in the extension's code and it is using 22.7.0, so that's the issue.

@PhamQuang-512
Copy link
Author

@pernielsentikaer Which version of Node is Raycast using? It appears that version 22.7.0 suffers from a critical error: nodejs/node#54518 tied to protobufs, and the problem seems similar here.

how to check node version raycast using

@PhamQuang-512
Copy link
Author

fork and change extension code like @m-gentil does work

@danielsequeira
Copy link
Contributor

Unfortunately, this was done accidentally. We are going to publish a hotfix (1.82.3) that changes it back to 20.15.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working extension: gcp-search Issues related to the gcp-search extension extension Issues related to one of the extensions in the Store
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants