I am trying to use hyperledger's blockchain-explorer for my production network. But when following the instructions I got this error when I started running npm start in the blockchain-explorer directory:
************************************************************************************
**************************** Hyperledger Explorer **********************************
************************************************************************************
./start.sh: 24: Syntax error: "(" unexpected
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! hyperledger-explorer#1.1.8 app-start: `./start.sh`
npm ERR! Exit status 2
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/conqueror/.npm/_logs/2022-10-05T02_01_23_907Z-debug.log
ERROR: "app-start" exited with 2.
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.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/conqueror/.npm/_logs/2022-10-05T02_01_23_940Z-debug.log
Can someone tell me how I can fix it. I'm really stuck!
If you are using docker for explorer setup then you have simply set all the paths and config in your cloned repo. And then just need to perform the below commands.
1. docker system prune
2. docker volume prune
3. docker-compose down
4. docker-compose up
Related
I'm having issues to run the a pipeline in AWS successfully. The flow fails in the CodeBuild phase of AWS.
I thought it was due to the .npm installation but I double checked and that is ok.
Please find below the tail log.
Thank you!
Build failed because of webpack errors
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! tokyo-white-nextjs-admin-dashboard#3.0.0 build: `next build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tokyo-white-nextjs-admin-dashboard#3.0.0 build 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! /root/.npm/_logs/2022-04-26T08_22_32_253Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! tokyo-white-nextjs-admin-dashboard#3.0.0 build-prod: `npm run clean && npm run build && npm run export`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tokyo-white-nextjs-admin-dashboard#3.0.0 build-prod 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! /root/.npm/_logs/2022-04-26T08_22_32_267Z-debug.log
[Container] 2022/04/26 08:22:32 Command did not exit successfully npm run build-prod exit status 1
[Container] 2022/04/26 08:22:32 Phase complete: BUILD State: FAILED
[Container] 2022/04/26 08:22:32 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: npm run build-prod. Reason: exit status 1
[Container] 2022/04/26 08:22:32 Entering phase POST_BUILD
I run npm run start command and I am getting this error:-
Failed to compile.
compiler.plugin is not a function
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ipfs-image-app#0.1.0 start: node scripts/start.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ipfs-image-app#0.1.0 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! C:\Users\yash mudgal\AppData\Roaming\npm-cache_logs\2022-02-28T06_56_44_910Z-debug.log
Please help me.
for error --compiler.plugin is not a function
npm install --save-dev webpack-shell-plugin-next
for error --npm ERR! code ELIFECYCLE
Cleaning Cache and Node_module are not enough. Follow this steps:
1-npm cache clean --force
2-delete node_modules folder
3-delete package-lock.json file
4 -npm install
run these commands before npm start.
I just got a new laptop for work, and trying to set it up for work. As I tried to run a service-build in my terminal as the command of
"./data-management/run_update_version && docker-compose -f docker-compose/docker-compose.yml build"
I got the error as below.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! myfrontend#3.3.0 build: `react-scripts build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the myfrontend#3.3.0 build 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! /root/.npm/_logs/2020-11-23T06_10_10_366Z-debug.log
I have tried many solutions such as clean cache, redo the npm install, but none of them worked. Can anyone please help.
So apparently, I figured out that this error means that there is no enough memory in the system. What I did is to go into docker desktop setting, and increase the memory, and that solved everything.
I am learning how to make a mobile app using react native but every time I run in the terminal npm run eject it gives me this error at the end I tried several npm versions but I keep always getting this error
Ejected successfully!
Please consider letting us know why you ejected in this survey:
goo.gl/forms/iD6pl218r7fn9N0d2
The batch file cannot be found.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! hello-world2#0.1.0 eject: `react-native-scripts eject`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the hello-world2#0.1.0 eject 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! C:\Users\AppData\Roaming\npm-cache\_logs\2018-06-05T11_28_47_708Z-debug.log
everyone!
I am trying to run default task on npm run command on Windows 10.
That is an error that I have got while using it.
npm ERR! code ELIFECYCLE
npm ERR! errno 9
npm ERR! builderLight#0.0.15 start: `bower install && gulp --debug`
npm ERR! Exit status 9
npm ERR!
npm ERR! Failed at the builderLight#0.0.15 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! C:\Users\User\AppData\Roaming\npm-cache\_logs\2018-04-29T15_01_45_882Z-debug.log
How to fix this bug?
You simply have to run first: npm install or bower install