blockchain-explorer icon indicating copy to clipboard operation
blockchain-explorer copied to clipboard

Getting error on npm run start

Open tohammad opened this issue 3 years ago • 3 comments
trafficstars

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

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] app-start: ./start.sh npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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! [email protected] start: run-s build app-start npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

tohammad avatar Apr 26 '22 11:04 tohammad

Hi @tohammad Please make the changes in the "start.sh" file as shown below. This worked for me. MicrosoftTeams-image (18)

Thank you!

Anusha-Padmanabhan avatar Dec 13 '22 13:12 Anusha-Padmanabhan

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

adityajoshi12 avatar Jan 06 '23 08:01 adityajoshi12

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

deekshithvarma256 avatar Aug 22 '23 05:08 deekshithvarma256