Skip to content
This repository was archived by the owner on Aug 28, 2020. It is now read-only.
This repository was archived by the owner on Aug 28, 2020. It is now read-only.

Cannot find module ./build/Debug/binding #2

Open

Description

@risseraka

After installing the module with npm install, I get this error when running index.js or requiring it:

Error: Cannot find module './build/Debug/binding'

Looking inside build folder, there is only a Release folder which is confusing.

Activity

  1. martijndeb commented on Aug 2, 2014

    @martijndeb

    In order to get this to work you will need to build the binding using node-gyp.

    sudo npm install -g node-gyp
    node-gyp configure
    cd node-pocketsphinx
    node-gyp build

    Change the demo.js to require ./build/Release/binding or build a debug version.

    This worked for me, but the demo doesn't work for me yet (keeps saying text shows here).
    -- edit: demo works for me, needed to close tab and reopen connection to localhost:3000, simply refreshing doesn't work, and the demo app needs to be restarted every run.
    Getting a very low accuracy, but just need to configure pocketsphinx more.

  2. risseraka commented on Aug 2, 2014

    @risseraka
    Author

    npm install does the job.

    Demo does not work either for me.
    It does detect a few words but it never get across to the browser.
    Also, server crashes from time to time by segmentation fault.

    Guess I'll find another way to stream audio to pocketsphinx.

  3. moneppo commented on Aug 3, 2014

    @moneppo
    Owner

    There are still a few bugs with this code due to my inexperience with
    libuv. If you want to contribute I encourage you to fork, or if you have
    any feedback I'd love to hear it.
    On Aug 2, 2014 1:45 PM, "Adrien Risser" notifications@github.com wrote:

    npm install does the job.

    Demo does not work either for me.
    It does detect a few words but it never get across to the browser.
    Also, server crashes from time to time by segmentation fault.

    Guess I'll find another way to stream audio to pocketsphinx.

    —
    Reply to this email directly or view it on GitHub
    #2 (comment)
    .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions