Can not start composer-cli





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I followed the instructions to install the hyperledger tools on Ubuntu 18.04. Due to a permission problem I had to change the node_modules directory.



I can run the tools, except composer-cli (composer-cli: command not found).



Installation log:



$ npm install -g composer-cli@0.20
...

WARN engine fabric-client@1.2.1: wanted: {"node":"^8.9.0","npm":"^5.5.1"} (current: {"node":"8.10.0","npm":"3.5.2"})
/home/asset-tracker/.npm-global/bin/composer -> /home/asset-tracker/.npm-global/lib/node_modules/composer-cli/cli.js
/home/asset-tracker/.npm-global/lib
└── composer-cli@0.20.4

npm WARN optional Skipping failed optional dependency /composer-cli/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.2.4









share|improve this question























  • composer-cli is the npm package name, not the command name. Try composer -v which should print out the composer version.

    – R Thatcher
    Nov 23 '18 at 9:44











  • thx, it‘s working now, v0.20.4

    – jpsstack
    Nov 28 '18 at 7:20


















0















I followed the instructions to install the hyperledger tools on Ubuntu 18.04. Due to a permission problem I had to change the node_modules directory.



I can run the tools, except composer-cli (composer-cli: command not found).



Installation log:



$ npm install -g composer-cli@0.20
...

WARN engine fabric-client@1.2.1: wanted: {"node":"^8.9.0","npm":"^5.5.1"} (current: {"node":"8.10.0","npm":"3.5.2"})
/home/asset-tracker/.npm-global/bin/composer -> /home/asset-tracker/.npm-global/lib/node_modules/composer-cli/cli.js
/home/asset-tracker/.npm-global/lib
└── composer-cli@0.20.4

npm WARN optional Skipping failed optional dependency /composer-cli/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.2.4









share|improve this question























  • composer-cli is the npm package name, not the command name. Try composer -v which should print out the composer version.

    – R Thatcher
    Nov 23 '18 at 9:44











  • thx, it‘s working now, v0.20.4

    – jpsstack
    Nov 28 '18 at 7:20














0












0








0








I followed the instructions to install the hyperledger tools on Ubuntu 18.04. Due to a permission problem I had to change the node_modules directory.



I can run the tools, except composer-cli (composer-cli: command not found).



Installation log:



$ npm install -g composer-cli@0.20
...

WARN engine fabric-client@1.2.1: wanted: {"node":"^8.9.0","npm":"^5.5.1"} (current: {"node":"8.10.0","npm":"3.5.2"})
/home/asset-tracker/.npm-global/bin/composer -> /home/asset-tracker/.npm-global/lib/node_modules/composer-cli/cli.js
/home/asset-tracker/.npm-global/lib
└── composer-cli@0.20.4

npm WARN optional Skipping failed optional dependency /composer-cli/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.2.4









share|improve this question














I followed the instructions to install the hyperledger tools on Ubuntu 18.04. Due to a permission problem I had to change the node_modules directory.



I can run the tools, except composer-cli (composer-cli: command not found).



Installation log:



$ npm install -g composer-cli@0.20
...

WARN engine fabric-client@1.2.1: wanted: {"node":"^8.9.0","npm":"^5.5.1"} (current: {"node":"8.10.0","npm":"3.5.2"})
/home/asset-tracker/.npm-global/bin/composer -> /home/asset-tracker/.npm-global/lib/node_modules/composer-cli/cli.js
/home/asset-tracker/.npm-global/lib
└── composer-cli@0.20.4

npm WARN optional Skipping failed optional dependency /composer-cli/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.2.4






hyperledger-composer






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 23 '18 at 8:20









jpsstackjpsstack

4201620




4201620













  • composer-cli is the npm package name, not the command name. Try composer -v which should print out the composer version.

    – R Thatcher
    Nov 23 '18 at 9:44











  • thx, it‘s working now, v0.20.4

    – jpsstack
    Nov 28 '18 at 7:20



















  • composer-cli is the npm package name, not the command name. Try composer -v which should print out the composer version.

    – R Thatcher
    Nov 23 '18 at 9:44











  • thx, it‘s working now, v0.20.4

    – jpsstack
    Nov 28 '18 at 7:20

















composer-cli is the npm package name, not the command name. Try composer -v which should print out the composer version.

– R Thatcher
Nov 23 '18 at 9:44





composer-cli is the npm package name, not the command name. Try composer -v which should print out the composer version.

– R Thatcher
Nov 23 '18 at 9:44













thx, it‘s working now, v0.20.4

– jpsstack
Nov 28 '18 at 7:20





thx, it‘s working now, v0.20.4

– jpsstack
Nov 28 '18 at 7:20












1 Answer
1






active

oldest

votes


















0














Well, as seen in the log snippet. I think you should try to upgrade the version of npm.



hyperledger-composer supports Ubuntu Linux 14.04 / 16.04 LTS (both 64-bit). Installing to 18.04 might facing unexpected error. installing prereqs






share|improve this answer
























  • thx for reminding me of the wrong OS version. The npm version is 6.4.1, not sure if I upgraded npm meanwhile, though.

    – jpsstack
    Nov 28 '18 at 7:24












Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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%2fstackoverflow.com%2fquestions%2f53442928%2fcan-not-start-composer-cli%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Well, as seen in the log snippet. I think you should try to upgrade the version of npm.



hyperledger-composer supports Ubuntu Linux 14.04 / 16.04 LTS (both 64-bit). Installing to 18.04 might facing unexpected error. installing prereqs






share|improve this answer
























  • thx for reminding me of the wrong OS version. The npm version is 6.4.1, not sure if I upgraded npm meanwhile, though.

    – jpsstack
    Nov 28 '18 at 7:24
















0














Well, as seen in the log snippet. I think you should try to upgrade the version of npm.



hyperledger-composer supports Ubuntu Linux 14.04 / 16.04 LTS (both 64-bit). Installing to 18.04 might facing unexpected error. installing prereqs






share|improve this answer
























  • thx for reminding me of the wrong OS version. The npm version is 6.4.1, not sure if I upgraded npm meanwhile, though.

    – jpsstack
    Nov 28 '18 at 7:24














0












0








0







Well, as seen in the log snippet. I think you should try to upgrade the version of npm.



hyperledger-composer supports Ubuntu Linux 14.04 / 16.04 LTS (both 64-bit). Installing to 18.04 might facing unexpected error. installing prereqs






share|improve this answer













Well, as seen in the log snippet. I think you should try to upgrade the version of npm.



hyperledger-composer supports Ubuntu Linux 14.04 / 16.04 LTS (both 64-bit). Installing to 18.04 might facing unexpected error. installing prereqs







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 28 '18 at 4:26









dahobadahoba

16




16













  • thx for reminding me of the wrong OS version. The npm version is 6.4.1, not sure if I upgraded npm meanwhile, though.

    – jpsstack
    Nov 28 '18 at 7:24



















  • thx for reminding me of the wrong OS version. The npm version is 6.4.1, not sure if I upgraded npm meanwhile, though.

    – jpsstack
    Nov 28 '18 at 7:24

















thx for reminding me of the wrong OS version. The npm version is 6.4.1, not sure if I upgraded npm meanwhile, though.

– jpsstack
Nov 28 '18 at 7:24





thx for reminding me of the wrong OS version. The npm version is 6.4.1, not sure if I upgraded npm meanwhile, though.

– jpsstack
Nov 28 '18 at 7:24




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • 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%2fstackoverflow.com%2fquestions%2f53442928%2fcan-not-start-composer-cli%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

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents