-
Notifications
You must be signed in to change notification settings - Fork 79
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
Install fail #72
Comments
Guessing this is because you are using Node 9.x - while this isn't technically supported yet, you should be able to build the native binary for yourself by running the following before
|
Thanks a lot Evan. Appreciate your quick response. Let me try that.
…-Regards
Shek
Get your own email signature
<https://wisestamp.com/email-install?utm_source=promotion&utm_medium=signature&utm_campaign=get_your_own>
On Sat, Dec 23, 2017 at 11:06 AM, Evan Cohen ***@***.***> wrote:
Guessing this is because you are using Node 9.x - while this isn't
technically supported yet, you should be able to build the native binary
for yourself by running the following before npm install:
sudo apt-get install libmagic-dev libatlas-base-dev
npm install -g nan
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#72 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AIZKxMEHelyzqTra2H20MCw2_ollnFiWks5tDGA1gaJpZM4RKvXT>
.
--
Agnimitra Shekhar
|
I am facing the same issue. But I am on windows 10. Any suggestions? I have installed sox as well.
|
@shekharkhatri Snowboy doesn't support Windows (and so unfortunately neither does this project). |
Guessing that this issue has been resolved since @ag-ni never got back to me, if not please feel free to re-open. |
The npm install --save sonus fails with errors.
The first error seems to be - its not able to download the Snowboy package. We can install Snowboy manually or change the URL in the script.. But I don't know from where I can change the script.
Can anyone help please.
node-pre-gyp ERR! Tried to download(403): https://snowboy-release-node.s3-us-west-2.amazonaws.com/snowboy/v1.2.0/Release/snowboy-v1.2.0-node-v59-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for snowboy@1.2.0 and node@9.3.0 (node-v59 ABI, glibc) (falling back to source compile with node-gyp)
make: Entering directory '/home/pi/node_modules/snowboy/build'
CXX(target) Release/obj.target/snowboy/swig/Node/snowboy.o
SOLINK_MODULE(target) Release/obj.target/snowboy.node
/usr/bin/ld: cannot find -lcblas
collect2: error: ld returned 1 exit status
snowboy.target.mk:131: recipe for target 'Release/obj.target/snowboy.node' failed
make: *** [Release/obj.target/snowboy.node] Error 1
make: Leaving directory '/home/pi/node_modules/snowboy/build'
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:159:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Linux 4.9.59-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/node_modules/snowboy/lib/node/binding/Release/node-v59-linux-arm/snowboy.node" "--module_name=snowboy" "--module_path=/home/pi/node_modules/snowboy/lib/node/binding/Release/node-v59-linux-arm"
gyp ERR! cwd /home/pi/node_modules/snowboy
gyp ERR! node -v v9.3.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/node_modules/snowboy/lib/node/binding/Release/node-v59-linux-arm/snowboy.node --module_name=snowboy --module_path=/home/pi/node_modules/snowboy/lib/node/binding/Release/node-v59-linux-arm' (1)
node-pre-gyp ERR! stack at ChildProcess. (/home/pi/node_modules/snowboy/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:159:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:943:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
node-pre-gyp ERR! System Linux 4.9.59-v7+
node-pre-gyp ERR! command "/usr/bin/node" "/home/pi/node_modules/snowboy/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/pi/node_modules/snowboy
node-pre-gyp ERR! node -v v9.3.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/node_modules/snowboy/lib/node/binding/Release/node-v59-linux-arm/snowboy.node --module_name=snowboy --module_path=/home/pi/node_modules/snowboy/lib/node/binding/Release/node-v59-linux-arm' (1)
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! snowboy@1.2.0 install:
node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the snowboy@1.2.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2017-12-22T06_59_42_257Z-debug.log
The text was updated successfully, but these errors were encountered: