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

I can't install the package #46

Open
jabrena opened this issue Aug 4, 2015 · 7 comments
Open

I can't install the package #46

jabrena opened this issue Aug 4, 2015 · 7 comments

Comments

@jabrena
Copy link

jabrena commented Aug 4, 2015

Hi,

I am trying to use your module but I can't.

The output is:

>npm install node-curl --save
|
> [email protected] install C:\Users\PATH_TO_PROJECT\node_modules\node-curl
> sh src/generate_curl_options_list.sh && (node-gyp rebuild || node-waf configur
e build)

"sh" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (
x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "node-curl" "--save"

npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `sh src/generate_curl_options_list.sh && (node
-gyp rebuild || node-waf configure build)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'sh src/generate_curl_opti
ons_list.sh && (node-gyp rebuild || node-waf configure build)'.
npm ERR! This is most likely a problem with the node-curl package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     sh src/generate_curl_options_list.sh && (node-gyp rebuild || node-w
af configure build)
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-curl
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\UsersPATH_TO_PROJECT\npm-debug.log

What is the problem?

Juan Antonio

@jabrena
Copy link
Author

jabrena commented Aug 4, 2015

Try this fork:
https://github.com/JCMais/node-libcurl/network

It has more support. Besides it has the requirements for a Windows system.

@raphaelparent
Copy link

I get these error trying to install on a mac.

gyp ERR! build error 
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-            gyp/lib/build.js:269: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 Darwin 14.4.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/raphael/Desktop/CTS_PosterYourself/app/node_modules/node-curl
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok 
sh: node-waf: command not found
npm ERR! Darwin 14.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "node-curl"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! [email protected] install: sh src/generate_curl_options_list.sh && (node-gyp rebuild || node-waf configure build)
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the [email protected] install script 'sh src/generate_curl_options_list.sh && (node- gyp rebuild || node-waf configure build)'.
npm ERR! This is most likely a problem with the node-curl package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     sh src/generate_curl_options_list.sh && (node-gyp rebuild || node-waf configure build)
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-curl
npm ERR! There is likely additional logging output above.

@raphaelparent
Copy link

@jabrena There's also a problem with the node-libcurl package.

@wzup
Copy link

wzup commented Aug 11, 2015

I have this error on Windows 8.1 64:

MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2)
install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere.  [c:\User
s\user\sbox\node\download_db\node_modules\node-curl\build\binding.sln]
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (c:\Program Files\nodejs\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:1067:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "node" "c:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd c:\Users\user\sbox\node\download_db\node_modules\node-curl
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
'node-waf' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "node-curl
" "--save"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `sh src/generate_curl_options_list.sh && (node-gyp rebuild || node-waf configure build)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'sh src/generate_curl_options_list.sh && (node-gyp rebuild || node-waf configure b
uild)'.
npm ERR! This is most likely a problem with the node-curl package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     sh src/generate_curl_options_list.sh && (node-gyp rebuild || node-waf configure build)
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-curl
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     c:\Users\user\sbox\node\download_db\npm-debug.log

@Narven
Copy link

Narven commented Aug 16, 2015

node curl wrapper with fully implemented

and nothing works... i can also make these type of libs

@JCMais
Copy link

JCMais commented Aug 30, 2015

@jabrena There's also a problem with the node-libcurl package.

@raphaelparent can you post on https://github.com/JCMais/node-libcurl/issues the problem you are having?

@raphaelparent
Copy link

@JCMais I will soon, I'm just really busy these days!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants