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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content