question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error running web container

See original GitHub issue

tried troubleshooting step with no luck.

$ docker logs web npm info it worked if it ends with ok npm info using npm@3.10.10 npm info using node@v6.11.3 npm info lifecycle blockchain-for-insurance@2.1.0~preserve: blockchain-for-insurance@2.1.0 npm info lifecycle blockchain-for-insurance@2.1.0~serve: blockchain-for-insurance@2.1.0

blockchain-for-insurance@2.1.0 serve /app cross-env NODE_ENV=production node ./bin/server

/app/app/static/js Server running on port: 3000 Default channel not found, attempting creation… Successfully created a new default channel. Joining peers to the default channel. Chaincode is not installed, attempting installation… Fatal error pulling docker images. { Error: read EACCES at exports._errnoException (util.js:1020:11) at Pipe.onread (net.js:568:26) code: ‘EACCES’, errno: ‘EACCES’, syscall: ‘read’ }

npm info lifecycle blockchain-for-insurance@2.1.0~serve: Failed to exec serve script npm ERR! Linux 3.16.0-30-generic npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “run” “serve” npm ERR! node v6.11.3 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! blockchain-for-insurance@2.1.0 serve: cross-env NODE_ENV=production node ./bin/server npm ERR! Exit status 255 npm ERR! npm ERR! Failed at the blockchain-for-insurance@2.1.0 serve script ‘cross-env NODE_ENV=production node ./bin/server’. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the blockchain-for-insurance package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! cross-env NODE_ENV=production node ./bin/server npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs blockchain-for-insurance npm ERR! Or if that isn’t available, you can get their info via: npm ERR! npm owner ls blockchain-for-insurance npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /app/npm-debug.log

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lakshadvanicommented, May 1, 2018

I logged in with the docker hub credentials and still get the error. Any workarounds?

0reactions
ljbennett62commented, Jun 28, 2018

@jchenibm - I have 1) updated the code and readme 3) pulled down to my local version and was successfully able to build and deploy the application. So I would suggest that you start fresh: 1) pull the latest code 2) clear out all your images using a docker stop and docker rmi commands 3) make sure you have the right version of node by installing nvm and pointing to the node version 8.11.3, docker 1.8 and npm 5.6.0. 3) Then dependent on your platform- run the right build command and everything should work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

WebSphere Application Server V6.1: Web Container Problem ...
Errors occur when a Web component is started. There are problems with JSP™ compilation. Errors or exceptions are thrown during the running of...
Read more >
Web Container
An error occurred that prevents the web container from functioning correctly. Action. Restart the server instance. If the problem persists, then Contact Product ......
Read more >
Docker run error: website can't be open, server error
Hello, I am pretty new on docker, I try now with command on terminal my web-app …but it gives error , it says...
Read more >
Hibernate-Spring Web container error - Stack Overflow
2 · My Hibernate properties file is: · I have a single jar which encapsulates al database access functionality and in normal Java...
Read more >
Error status codes returned by the Web container
When a Web application that is in abnormal state due to an unexpected error or exception, is accessed; When only the Web container...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found