-
Notifications
You must be signed in to change notification settings - Fork 5
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
Error installing with npm on windows #3
Comments
After a few more hours trying to understand the problem, I now think that the issue is that netinet/in.h file is not available on Windows. I'm able to install successfully other packages that are using node-gyp, so that's not the problem. My conclusion is that this package is not intended (or was simply not tested) to work on Windows. Do you think that there is a workaround to this? Thank you once again. |
I have never used nodejs/npm on windows and have not access to a windows development environment, so it may be hard for me to help. Options:
The "main" program for nodejs is basically in svdNewDMat
svdConvertDtoS
svdFreeDMat
svdLAS2A
svdFreeSMat
svdFreeSVDRec but of course, keeping only these may not work as the implementation of these functions may require other functions, so it may become a pain, although that would be the simplest way to make it work without adding any new code. |
I forked the repository and got it working by removing the unnecessary functions and header files of svdlibc to this module. Also changed the npm install script so that all is compatible with Windows. Thank you so much for your help! |
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:
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.
The text was updated successfully, but these errors were encountered: