IBM / Decentralized-Energy-Composer

WARNING: This repository is no longer maintained :warning: We are no longer showing the Hyperledger Composer Service.
https://developer.ibm.com/code/patterns/decentralized-energy-hyperledger-composer/
Apache License 2.0
129 stars 133 forks source link

While adding resident Error: Could not connect to REST server. Please check your configuration details #27

Closed rghorpade closed 6 years ago

rghorpade commented 6 years ago

screenshot from 2018-08-18 17-34-25 I got this error while adding Resident. Error: Could not connect to REST server. Please check your configuration details.

While npm start in angular-app got following error: Error: Composer runtime (0.19.14) is not compatible with client (0.20.0) [1] It will be retried for the next request. [1] Exception: Error: Error trying to ping. Error: Composer runtime (0.19.14) is not compatible with client (0.20.0) [1] Error: Error trying to ping. Error: Composer runtime (0.19.14) is not compatible with client (0.20.0) [1] at _checkRuntimeVersions.then.catch (/home/r1/Decentralized-Energy-Composer/angular-app/node_modules/composer-connector-hlfv1/lib/hlfconnection.js:806:34) [1] at [1] npm ERR! code ELIFECYCLE [1] npm ERR! errno 1 [1] npm ERR! angular-app@0.0.1 app: composer-rest-server -c admin@decentralized-energy-network -n never -w true [1] npm ERR! Exit status 1 npm ERR! [1] npm ERR! Failed at the angular-app@0.0.1 app script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. [1] [1] npm ERR! A complete log of this run can be found in:

$ npm list -g --depth=0 /home/r1/.nvm/versions/node/v8.9.4/lib ├── composer-admin@0.19.14 ├── composer-cli@0.19.14 ├── composer-common@0.19.14 ├── composer-playground@0.20.0 ├── composer-rest-server@0.19.14 ├── generator-hyperledger-composer@0.20.0 ├── gulp@3.9.1 ├── npm@5.6.0 └── yo@2.0.5

npm ERR! invalid: minizlib@1.0.3 /home/r1/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/tar/node_modules/minizlib

Can anyone Please Help...

rghorpade commented 6 years ago

Solved by manually starting "composer-rest-server" with "admin@decentralized-energy -network"

penghunicsc commented 5 years ago

manually starting "composer-rest-server"

how to manual starting composer-rest-server ?? thanks