evancohen / sonus

:speech_balloon: /so.nus/ STT (speech to text) for Node with offline hotword detection
MIT License
627 stars 79 forks source link

Error on running Example.js #75

Open vijnasu opened 6 years ago

vijnasu commented 6 years ago

ERROR (Input():snowboy-io.cc:315) Fail to open input file "node_modules/snowboy/resources/common.res" terminate called after throwing an instance of 'std::runtime_error' what(): ERROR (Input():snowboy-io.cc:315) Fail to open input file "node_modules/snowboy/resources/common.res"

What would be the problem?

evancohen commented 6 years ago

I'm guessing this is because you are running the example from the example/ directory. If you run it from the root of the repo you should have to problem.

node examples/example.js