Cmd錯誤:「sh」不被識別爲內部或外部命令,可操作程序或批處理文件。Node.js在Windows上安裝模塊
C:\Users\user>npm install -g node-curl
npm http GET https://registry.npmjs.org/node-curl
npm http 304 https://registry.npmjs.org/node-curl
> [email protected] install C:\Users\user\AppData\Roaming\npm\node_modules\node-cu
rl
> sh src/generate_curl_options_list.sh && node-waf configure build || true
"sh" is not recognized as an internal or external command, operable program or batch file.
"true" is not recognized as an internal or external command, operable program or batch file.
好的。在http.request上如何輕鬆使用cookie? – newpdv 2012-07-24 13:14:48
是公平的,node-curl可以是curl命令行工具的node.js實現,它從包裝curl的本地實現的名稱並不明顯。 – rdrey 2012-07-24 13:36:37