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

Could not fetch metadata for snowboy@git+ssh://[email protected]/leon-ai/snowboy.git#d393fbff3ea319131071b90fb587884572facd5c Error: git dep preparation failed #337

Closed
NXture opened this issue Jan 2, 2022 · 9 comments
Labels
bug Indicates an unexpected problem or unintended behavior.

Comments

@NXture
Copy link

NXture commented Jan 2, 2022

Hey Louis, welcome back

I was trying to install hotword and I came across this error.
I think it is some access issue. Can you please help me with that.

Actual Behavior

Could not fetch metadata for snowboy@git+ssh://[email protected]/leon-ai/snowboy.git#d393fbff3ea319131071b90fb587884572facd5c Error: git dep preparation failed
@NXture NXture added the bug Indicates an unexpected problem or unintended behavior. label Jan 2, 2022
@johannbarbie
Copy link
Contributor

npm run setup:offline also fails with reference to snowboy

@johannbarbie
Copy link
Contributor

when running npm install in hotword, snowboy is a transitive dependency, and bindings are fetched fromhttps://leon-ai-snowboy.s3-us-west-2.amazonaws.com. the endpoint is only returns 403 for me.

@johannbarbie johannbarbie mentioned this issue Jan 23, 2022
7 tasks
@NXture
Copy link
Author

NXture commented Jan 24, 2022

thanks for your interest @johannbarbie . May I know the node version you are using?

when running npm install in hotword, snowboy is a transitive dependency, and bindings are fetched fromhttps://leon-ai-snowboy.s3-us-west-2.amazonaws.com. the endpoint is only returns 403 for me.

@johannbarbie
Copy link
Contributor

i'm running v16.13.2 on mac

@NXture
Copy link
Author

NXture commented Jan 24, 2022

were you able to run hotword using v16? i believe snowboy only supports older node like v10 n below.

@johannbarbie
Copy link
Contributor

leon requires node v16, so I assumed all components do as well. I had to manually build the bindings in snowboy using this command:
CXXFLAGS="--std=c++17" node-pre-gyp/bin/node-pre-gyp clean configure build

i've tried to automate the step in this PR

@NXture
Copy link
Author

NXture commented Jan 24, 2022

yeah, i got it. it does connects to the server and starts waiting for the hotword. but it couldn't catch any phrase. was it same for you?

@johannbarbie
Copy link
Contributor

after building the binding I was able to issue the hotword and give of a command:

  1. "Leon" -> mic turns blue
  2. "Give me a random number"
  3. Leon returns random number and reads it out

@NXture
Copy link
Author

NXture commented Jan 28, 2022

it works @johannbarbie , earlier i was using WSL2 and it didn't have access to the microphone. I just switched to Ubuntu system and it catches the hotword now. Thanks for your support.

@NXture NXture closed this as completed Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior.
Projects
None yet
Development

No branches or pull requests

2 participants