Install node-curl on Alpine in Docker
-
- Offline
- 2 years 7 months ago
- 2015-08-20
I am trying to install node-curl (https://github.com/jiangmiao/node-curl) on Alpine in Docker container. I have cloned that github and used npm to install it without any success. I get the following error.
npm ERR! Linux 4.0.5
npm ERR! argv "node" "/usr/bin/npm" "install" "-g" "/tmp/core"
npm ERR! node v0.10.40
npm ERR! npm v2.13.5
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! 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 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.
npm ERR! Please include the following file with any support request:
npm ERR! /npm-debug.log