Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8307321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:30:10+00:00 2026-06-08T18:30:10+00:00

Cmd error: sh is not recognized as an internal or external command, operable program

  • 0

Cmd error: “sh” is not recognized as an internal or external command, operable program or batch file.

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

    > node-curl@0.1.4 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.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T18:30:11+00:00Added an answer on June 8, 2026 at 6:30 pm

    To expand on Florian’s answer: You’re on Windows, which doesn’t have cURL or sh. You’re trying to install a module that relies on your operating system offering the libcurl-library and sh, which is not shipped with Windows.

    You have some options:

    1. Write your own node-only implementation that behaves like curl.

      See this question on SO: Curl equivalent in nodejs?
      It goes into details of how to use the built-in http module, like curl.

    2. Or install libcurl and sh on windows, with a tool like cygwin. I haven’t tried this, and the npm module you’re trying to install might still have dependencies on other unix tools that aren’t solved by cygwin.

    3. Or look for something else in http://search.npmjs.org/ that behaves like curl. Try httpsync or curly

    I recommend option 1, it’ll teach you basic http principles. The native modules in node already offer everything you might need curl for. 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How to hide cmd window while running a batch file? I use the following
class file from cmd with the following command and i get the output: The
I'm trying to create a cmd file that will install a .msi and then
while executing $expect filename.exp user pwd ip I got the error could not execute
I got the error below while running a pre-written cmd file on Windows. 'mt'
I have a script. If call from cmd console, the error is displayed. However
Runtime.getRuntime().exec(cmd /c start rake.bat); I want it to run rake.bat then close the command
When running my vb6 application I am getting error like, runtime error '53': file
I have set JAVA_HOME = C:\Program Files\Java\jdk1.6.0_26 in user defined variables and system variables
I keep getting this error when trying to enter mvn -version in the cmd.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.