Can not start composer-cli
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
add a comment |
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
composer-cli is the npm package name, not the command name. Trycomposer -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
add a comment |
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
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
hyperledger-composer
asked Nov 23 '18 at 8:20
jpsstackjpsstack
4201620
4201620
composer-cli is the npm package name, not the command name. Trycomposer -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
add a comment |
composer-cli is the npm package name, not the command name. Trycomposer -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
add a comment |
1 Answer
1
active
oldest
votes
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
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
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
add a comment |
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
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
add a comment |
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
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
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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