Skip to content

npm install fails with node 7.2 and 8.0 #37

Open

Description

@821760408-sp

Hi,

I have the latest sphinxbase and pocketsphinx installed from github, also PKG_CONFIG_PATH is set to /usr/local/lib/pkgconfig.

I have cmake of version 3.7.1 and SWIG of Version 3.0.10.

When I tried to do npm install pocketsphinx it gave the following error:

log.txt

Seemed to be a problem with "cmake-js compile" ?

Activity

  1. nshmyrev commented on Dec 6, 2016

    @nshmyrev

    What is your node version?

  2. 821760408-sp commented on Dec 6, 2016

    @821760408-sp
    Author

    node version is 7.2.0
    npm is 3.10.9

  3. nshmyrev commented on Dec 6, 2016

    @nshmyrev

    Swig does not support node 7 yet, see for details swig/swig#825

    You could try node 5 or, probably, wait till the swig issue is resolved.

  4. changed the title [-]npm install pocketsphinx failed on Mac OS 10.11.6[/-] [+]npm install fails with node 7.2[/+] on Dec 6, 2016
  5. nshmyrev commented on Jul 12, 2017

    @nshmyrev

    Latest PR is at swig/swig#968

  6. changed the title [-]npm install fails with node 7.2[/-] [+]npm install fails with node 7.2 and 8.0[/+] on Jul 19, 2017
  7. highvoltage379 commented on Feb 22, 2018

    @highvoltage379

    I managed to install node-pocketsphinx with node version 9.0.0 (should work with 7.x and 8.x as well).
    This pull request swig/swig#968 corrects the bug. Apparently, they don't want to merge with master yet, but it works.

    (I had some trouble in finding the actual repo that contains the pull request, here's the link: https://github.com/swig/swig/tree/f08d7a63a92a3ba89d97bdfcc206e1e1c4804c0f)

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