Failed to load connector module "composer-connector-hlfv1" for connection profile "defaultProfile"
Using Mac OS 10.12
https://github.com/fabric-composer/sample-applications with commit c5aa100d2532b7ec085a650e515a677dc3446ad2
when i run npm test
      
        
        
        
      
    in launch directory i got below error
Error: [Composer-GettingStarted] Error: Failed to load connector module "composer-connector-hlfv1" for connection profile "defaultProfile" Command could not be executed.
Received a response from fabric-composer chat channel Rocket. Here's a solution to fix it provided by Dan
This is usually an installation problem. Try running npm uninstall -g composer-cli
      
        
        
        
      
    and then npm install -g composer-cli
      
        
        
        
      
    and check if there are any problems with the installation. Also delete the folder node_modules
      
        
        
        
      
    to start and then rerunnpm install
      
        
        
        
      
    
this worked for me:
sudo npm uninstall -g composer-rest-server && sudo npm install -g composer-rest-server
      
        
        
        
      
     When I started. /createPeerAdminCard.sh , I got the same error message.
Try running npm uninstall -g composer-cli followed by npm install -g composer-cli
He allowed the work described above.
My environment:
$ uname -a
Linux ubuntu 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ npm ls -g composer-cli
/usr/lib
└── composer-cli@0.16.6
$ composer-rest-server -v
v0.16.6
$ composer-playground --version
0.16.6