Message "bash: fhc: command not found" is faced when the command `fhc -v` is executed after the installation

Solution Verified - Updated -

Issue

  • Message "bash: fhc: command not found" is faced when the command fhc -v is executed after the installation
  • FHC commands not found
  • Running FHC command fails with a message:

    $ fhc -v
    -bash: fhc: command not found
    

Environment

  • Mac OS X
  • Red Hat Mobile Application Platform (RHMAP) 3
  • Command FHC properly installed by running:

    $ sudo npm install -g fh-fhc
    

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.