hyperledger-labs / blockchain-explorer

Apache License 2.0
1.42k stars 948 forks source link

Getting error on npm run start #295

Open tohammad opened 2 years ago

tohammad commented 2 years ago

Getting below error on npm run start in blockchain-explorer directory:

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! hyperledger-explorer@1.1.8 app-start: ./start.sh npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the hyperledger-explorer@1.1.8 app-start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/hammad/.npm/_logs/2022-04-26T10_56_32_697Z-debug.log ERROR: "app-start" exited with 1. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! hyperledger-explorer@1.1.8 start: run-s build app-start npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the hyperledger-explorer@1.1.8 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Anusha-Padmanabhan commented 1 year ago

Hi @tohammad Please make the changes in the "start.sh" file as shown below. This worked for me.

MicrosoftTeams-image (18)

Thank you!

adityajoshi12 commented 1 year ago

I tried running explorer locally and found that it was failing for node v14 and v16, but worked with v12. You can try running it with v12

deekshithvarma256 commented 1 year ago

This issue regarding v14, v16 is fixed in the upcoming release, v2.0.0.