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

npm install fails with node 7.2 and 8.0 #37

Open
821760408-sp opened this issue Dec 3, 2016 · 5 comments
Open

npm install fails with node 7.2 and 8.0 #37

821760408-sp opened this issue Dec 3, 2016 · 5 comments

Comments

@821760408-sp
Copy link

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" ?

@nshmyrev
Copy link

nshmyrev commented Dec 6, 2016

What is your node version?

@821760408-sp
Copy link
Author

node version is 7.2.0
npm is 3.10.9

@nshmyrev
Copy link

nshmyrev commented Dec 6, 2016

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.

@nshmyrev nshmyrev changed the title npm install pocketsphinx failed on Mac OS 10.11.6 npm install fails with node 7.2 Dec 6, 2016
@nshmyrev
Copy link

Latest PR is at swig/swig#968

@nshmyrev nshmyrev marked this as a duplicate of #45 Jul 19, 2017
@nshmyrev nshmyrev reopened this Jul 19, 2017
@nshmyrev nshmyrev changed the title npm install fails with node 7.2 npm install fails with node 7.2 and 8.0 Jul 19, 2017
@nshmyrev nshmyrev marked this as a duplicate of #46 Jul 24, 2017
@highvoltage379
Copy link

highvoltage379 commented Feb 22, 2018

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
Labels
None yet
Development

No branches or pull requests

3 participants