Giter VIP home page Giter VIP logo

node-svd's People

Contributors

flore2003 avatar xionluhnis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

node-svd's Issues

Sparse?

Can this library handle sparse/compressed matrix representations?

Error installing with npm on windows

Hi, I'm having trouble installing node-svd via npm. I've already installed node-gyp and confirmed that it is working and the variables python and msbuild are available at my environment but am still getting this error:

C:\Users\Joao\Documents\Thesis\DamVis>npm install node-svd --save

> [email protected] install C:\Users\Joao\Documents\Thesis\DamVis\node_modules\node-svd
> node-gyp rebuild && cp build/Release/svd.node ./svd.node


C:\Users\Joao\Documents\Thesis\DamVis\node_modules\node-svd>if not defined npm_config_node_gyp (node "C:\Users\Joao\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  las2.c
  svdutil.c
  svdlib.c
..\svdlib.c(201): warning C4098: 'svdWriteDenseArray': função 'void' retornando um valor [C:\Users\Joao\Documents\Dropb
ox\Thesis\DamVis\node_modules\node-svd\build\svd.vcxproj]
..\svdutil.c(40): fatal error C1083: Não é possível abrir arquivo incluir: 'netinet/in.h': No such file or directory [C
:\Users\Joao\Documents\Thesis\DamVis\node_modules\node-svd\build\svd.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `msbuild` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\Joao\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:285:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 10.0.15063
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Joao\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Joao\Documents\Thesis\DamVis\node_modules\node-svd
gyp ERR! node -v v6.9.1
gyp ERR! node-gyp -v v3.6.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild && cp build/Release/svd.node ./svd.node`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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!     C:\Users\Joao\AppData\Roaming\npm-cache\_logs\2017-07-04T21_10_11_881Z-debug.log

If you go to https://npm.runkit.com/node-svd it also gives an error saying it couldn't find 'node-svd'. Any suggestion on how I might solve this?

Thanks.

Node-Svd installation Issue

While installing Node-Svd on Node 0.12.4 it gives the following issue, I got it to work by downgrading the node version.

../svd.cc:167:1: warning: control reaches end of non-void function [-Wreturn-type]

}

^

make: *** [Release/obj.target/svd/svd.o] Error 1

make: Leaving directory `/home/bitnami/node_modules/node-svd/build'

gyp ERR! build error

gyp ERR! stack Error: make failed with exit code: 2

gyp ERR! stack at ChildProcess.onExit (/opt/bitnami/nodejs/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)

gyp ERR! stack at ChildProcess.emit (events.js:110:17)

gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)

gyp ERR! System Linux 3.13.0-53-generic

gyp ERR! command "/opt/bitnami/nodejs/bin/.node.bin" "/opt/bitnami/nodejs/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"

gyp ERR! cwd /home/bitnami/node_modules/node-svd

gyp ERR! node -v v0.12.4

gyp ERR! node-gyp -v v1.0.2

gyp ERR! not ok

npm ERR! Linux 3.13.0-53-generic

npm ERR! argv "/opt/bitnami/nodejs/bin/.node.bin" "/opt/bitnami/nodejs/bin/npm" "i" "node-svd"

npm ERR! node v0.12.4

npm ERR! npm v2.1.18

npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild && cp build/Release/svd.node ./svd.node

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the [email protected] install script 'node-gyp rebuild && cp build/Release/svd.node ./svd.node'.

npm ERR! This is most likely a problem with the node-svd package,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR! node-gyp rebuild && cp build/Release/svd.node ./svd.node

npm ERR! You can get their info via:

npm ERR! npm owner ls node-svd

npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

npm ERR! /home/bitnami/npm-debug.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.