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.

Running via Azure Container Instance

See original GitHub issue

Hi

I just created an Azure container instance to run juice shop, the issue is it will start and stop and will be Terminated.

What I am doing wrong?

I see these in the logs

> juice-shop@8.6.0 start /juice-shop
> node app

info: All dependencies in ./package.json are satisfied (OK)
info: Detected Node.js version v10.15.3 (OK)
info: Required file index.html is present (OK)
info: Required file main.js is present (OK)
info: Required file polyfills.js is present (OK)
info: Required file runtime.js is present (OK)
info: Required file vendor.js is present (OK)
info: Configuration default validated (OK)
warn: Dependencies in ./frontend/package.json are not rightly satisfied (NOT OK)
warn: @angular-devkit/build-angular: not installed!
warn: @angular/animations: not installed!
warn: @angular/cdk: not installed!
warn: @angular/cli: not installed!
warn: @angular/common: not installed!
warn: @angular/compiler: not installed!
warn: @angular/compiler-cli: not installed!
warn: @angular/core: not installed!
warn: @angular/flex-layout: not installed!
warn: @angular/forms: not installed!
warn: @angular/http: not installed!
warn: @angular/material: not installed!
warn: @angular/platform-browser: not installed!
warn: @angular/platform-browser-dynamic: not installed!
warn: @angular/router: not installed!
warn: @fortawesome/fontawesome-svg-core: not installed!
warn: @fortawesome/free-brands-svg-icons: not installed!
warn: @fortawesome/free-regular-svg-icons: not installed!
warn: @fortawesome/free-solid-svg-icons: not installed!
warn: @nguniversal/express-engine: not installed!
warn: @ngx-translate/core: not installed!
warn: @ngx-translate/http-loader: not installed!
warn: angularx-qrcode: not installed!
warn: core-js: not installed!
warn: flag-icon-css: not installed!
warn: hammerjs: not installed!
warn: ng-simple-slideshow: not installed!
warn: ng2-bar-rating: not installed!
warn: ng2-file-upload: not installed!
warn: ngx-clipboard: not installed!
warn: ngx-cookie: not installed!
warn: ngx-spinner: not installed!
warn: rxjs: not installed!
warn: socket.io-client: not installed!
warn: typescript: not installed!
warn: zone.js: not installed!
warn: Invoke npm install to install missing packages
error: Exiting due to unsatisfied dependencies!
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! juice-shop@8.6.0 start: `node app`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the juice-shop@8.6.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!     /home/juicer/.npm/_logs/2019-05-27T18_43_11_958Z-debug.log 

image

image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
bkimminichcommented, May 27, 2019

Fix build is on the way… If DroidEdit didn’t mess up the code style, then all should be fine now! 😉

2reactions
RezaRahmaticommented, May 27, 2019

Fix build is on the way… If DroidEdit didn’t mess up the code style, then all should be fine now! 😉

I confirm the issue is solved

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Quickstart - Portal - Azure Container Instances - Microsoft Learn
Use Azure Container Instances to run serverless Docker containers in Azure with simplicity and speed. Deploy an application to a container ...
Read more >
Execute a command in a running Azure container instance
Run init containers in Azure Container Instances to perform setup tasks in a container group before the application containers run.
Read more >
Run Docker containers with Azure Container Instances
Learn how to run containerized apps using Docker containers with Azure Container Instances (ACI). Learning objectives. In this module, you will: Run containers ......
Read more >
Azure Container Instances documentation - Microsoft Learn
Azure Container Instances is a solution for any scenario that can operate in isolated containers, without orchestration. Run event-driven applications, ...
Read more >
Deploy Docker container to container instance - Azure CLI
Use Azure Container Instances to run serverless Docker containers in Azure with simplicity and speed. Deploy an application to a 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