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.

fail to run juice shop

See original GitHub issue

root@kali:~/Desktop/juice-shop1# npm start

juice-shop@9.3.0 start /root/Desktop/juice-shop1 node app

info: All dependencies in ./package.json are satisfied (OK)
(node:49520) UnhandledPromiseRejectionWarning: Error: The module '/root/Desktop/juice-shop1/node_modules/libxmljs2/build/Release/xmljs.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 64. This version of Node.js requires
NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1025:18)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Function.Module._load (internal/modules/cjs/loader.js:727:14)
    at Module.require (internal/modules/cjs/loader.js:852:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at bindings (/root/Desktop/juice-shop1/node_modules/bindings/bindings.js:112:48)
    at Object.<anonymous> (/root/Desktop/juice-shop1/node_modules/libxmljs2/lib/bindings.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:959:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Function.Module._load (internal/modules/cjs/loader.js:727:14)
    at Module.require (internal/modules/cjs/loader.js:852:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/root/Desktop/juice-shop1/node_modules/libxmljs2/index.js:4:16)
    at Module._compile (internal/modules/cjs/loader.js:959:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
(node:49520) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:49520) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

What should I do now ?? Thanks

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
toptutocommented, Dec 16, 2019

Ah okay , I got it , thanks

1reaction
bkimminichcommented, Dec 15, 2019

Looks more like you downloaded the wrong ZIP. Download the version for your node.js (10, 12 or 13) and it should work. Also make sure to pick the archive for the righr OS. Or: Clone the repo instead and do.npm install.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm start error · Issue #843 · juice-shop/juice-shop - GitHub
I remotely connected to a virtual machine (ubuntu 16), and I want to run Juice-shop there. Everything works well but when I want...
Read more >
Troubleshooting - Pwning OWASP Juice Shop
Juice Shop will resist to launch as long as any of these validations fail: Failing start-up validations. The following checks are run during...
Read more >
pampapam2 - bkimminich/juice-shop - Gitter
A complete log of this run can be found in: npm ERR! ... Failed at the juice-shop@9.2.0 postinstall script. ... PS C:\Users\pete\juice-shop> npm...
Read more >
OWASP Juice Shop
Björn Kimminich's Juice Shop is a vulnerable web application and can be used in may ways. I will show you how to install...
Read more >
Hacking the OWASP Juice Shop Series - Challenge #7 (Error ...
Apart from the hacker and awareness training use case, pentesting proxies or security scanners can use Juice Shop as a “guinea ...
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