npm package composer-cli not found, although installed in folderStrange recursive folder created on npm...

Can someone clarify Hamming's notion of important problems in relation to modern academia?

Why are UK visa biometrics appointments suspended at USCIS Application Support Centers?

Is it a bad idea to plug the other end of ESD strap to wall ground?

Why do I get negative height?

Unlock My Phone! February 2018

Should I tell management that I intend to leave due to bad software development practices?

What historical events would have to change in order to make 19th century "steampunk" technology possible?

How to prevent "they're falling in love" trope

Was the Stack Exchange "Happy April Fools" page fitting with the '90's code?

How to travel to Japan while expressing milk?

What reasons are there for a Capitalist to oppose a 100% inheritance tax?

Why was Sir Cadogan fired?

What is the opposite of "eschatology"?

How can I prove that a state of equilibrium is unstable?

Calculate the Mean mean of two numbers

Am I breaking OOP practice with this architecture?

How seriously should I take size and weight limits of hand luggage?

How can saying a song's name be a copyright violation?

What Exploit Are These User Agents Trying to Use?

Could the museum Saturn V's be refitted for one more flight?

OP Amp not amplifying audio signal

Obtaining database information and values in extended properties

Mathematica command that allows it to read my intentions

Rotate ASCII Art by 45 Degrees



npm package composer-cli not found, although installed in folder


Strange recursive folder created on npm installationnpm can't be installedNPM - Some packages could not be installedNPM packages: command not foundnpm is not installed in ubuntu 14.04npm not really uninstalling global packagecomposer-rest-server: command not foundUninstalling “Maven” and “npm” installed from sourcenpm is not installing on ubuntuE: Unable to locate package npm













0















I am trying to follow the hyperledger composer installation tutorial (https://hyperledger.github.io/composer/latest/installing/development-tools.html). After running npm install composer-cli@0.20, I get following output when running npm list:



$npm list  --depth=0

fabric-dev-servers@0.0.14 /home/paul/fabric-dev-servers
├── composer-cli@0.20.8


However, if I run $./createPeerAdminCard.sh, I get following error:



No version of composer-cli has been detected, you need to install composer-cli at v0.20 or higher.


Why isn't it recognized as installed ?



P.s.: I know of the local/global conundrum in npm, but what good is it to install packages locally if they don't run locally, especially considering the guideline that packages should preferably be installed locally.










share|improve this question



























    0















    I am trying to follow the hyperledger composer installation tutorial (https://hyperledger.github.io/composer/latest/installing/development-tools.html). After running npm install composer-cli@0.20, I get following output when running npm list:



    $npm list  --depth=0

    fabric-dev-servers@0.0.14 /home/paul/fabric-dev-servers
    ├── composer-cli@0.20.8


    However, if I run $./createPeerAdminCard.sh, I get following error:



    No version of composer-cli has been detected, you need to install composer-cli at v0.20 or higher.


    Why isn't it recognized as installed ?



    P.s.: I know of the local/global conundrum in npm, but what good is it to install packages locally if they don't run locally, especially considering the guideline that packages should preferably be installed locally.










    share|improve this question

























      0












      0








      0








      I am trying to follow the hyperledger composer installation tutorial (https://hyperledger.github.io/composer/latest/installing/development-tools.html). After running npm install composer-cli@0.20, I get following output when running npm list:



      $npm list  --depth=0

      fabric-dev-servers@0.0.14 /home/paul/fabric-dev-servers
      ├── composer-cli@0.20.8


      However, if I run $./createPeerAdminCard.sh, I get following error:



      No version of composer-cli has been detected, you need to install composer-cli at v0.20 or higher.


      Why isn't it recognized as installed ?



      P.s.: I know of the local/global conundrum in npm, but what good is it to install packages locally if they don't run locally, especially considering the guideline that packages should preferably be installed locally.










      share|improve this question














      I am trying to follow the hyperledger composer installation tutorial (https://hyperledger.github.io/composer/latest/installing/development-tools.html). After running npm install composer-cli@0.20, I get following output when running npm list:



      $npm list  --depth=0

      fabric-dev-servers@0.0.14 /home/paul/fabric-dev-servers
      ├── composer-cli@0.20.8


      However, if I run $./createPeerAdminCard.sh, I get following error:



      No version of composer-cli has been detected, you need to install composer-cli at v0.20 or higher.


      Why isn't it recognized as installed ?



      P.s.: I know of the local/global conundrum in npm, but what good is it to install packages locally if they don't run locally, especially considering the guideline that packages should preferably be installed locally.







      package-management software-installation npm






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 11 mins ago









      Paul RousseauPaul Rousseau

      163




      163






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1130760%2fnpm-package-composer-cli-not-found-although-installed-in-folder%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1130760%2fnpm-package-composer-cli-not-found-although-installed-in-folder%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

          Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...