[π] SequelizeDatabaseError: SQLITE_ERROR: no such table: Wallet
See original GitHub issueπ Bug report
Description
Not able to run Juice Shop locally or via Docker
Is this a regression?
well, I definitely was running Juice Shop successfully before, do not remember the version exactly
π¬ Minimal Reproduction
locally:
- Install node.js
- Run git clone https://github.com/bkimminich/juice-shop.git (or clone your own fork of the repository)
- Go into the cloned folder with cd juice-shop
- Run npm install (only has to be done before first start or when you change the source code)
- Run npm start
via Docker:
- Install Docker
- Run docker pull bkimminich/juice-shop
- Run docker run --rm -p 3000:3000 bkimminich/juice-shop
π₯ Exception or Error
output is the same for both Docker and local setup:
> juice-shop@10.3.0 start /juice-shop
> node app
info: All dependencies in ./package.json are satisfied (OK)
info: Detected Node.js version v13.14.0 (OK)
info: Detected OS linux (OK)
info: Detected CPU x64 (OK)
info: Required file index.html is present (OK)
info: Required file styles.css is present (OK)
info: Required file main-es2015.js is present (OK)
info: Required file tutorial-es2015.js is present (OK)
info: Required file polyfills-es2015.js is present (OK)
info: Required file runtime-es2015.js is present (OK)
info: Required file vendor-es2015.js is present (OK)
info: Required file main-es5.js is present (OK)
info: Required file tutorial-es5.js is present (OK)
info: Required file polyfills-es5.js is present (OK)
info: Required file runtime-es5.js is present (OK)
info: Required file vendor-es5.js is present (OK)
info: Configuration default validated (OK)
info: Port 3000 is available (OK)
Unhandled rejection SequelizeDatabaseError: SQLITE_ERROR: no such table: Wallets
at Query.formatError (/juice-shop/node_modules/sequelize/lib/dialects/sqlite/query.js:422:16)
at Query._handleQueryResponse (/juice-shop/node_modules/sequelize/lib/dialects/sqlite/query.js:73:18)
at afterExecute (/juice-shop/node_modules/sequelize/lib/dialects/sqlite/query.js:250:31)
at replacement (/juice-shop/node_modules/sqlite3/lib/trace.js:19:31)
at Statement.errBack (/juice-shop/node_modules/sqlite3/lib/sqlite3.js:14:21)
Unhandled rejection SequelizeDatabaseError: SQLITE_ERROR: no such table: Feedbacks
at Query.formatError (/juice-shop/node_modules/sequelize/lib/dialects/sqlite/query.js:422:16)
at Query._handleQueryResponse (/juice-shop/node_modules/sequelize/lib/dialects/sqlite/query.js:73:18)
at afterExecute (/juice-shop/node_modules/sequelize/lib/dialects/sqlite/query.js:250:31)
at replacement (/juice-shop/node_modules/sqlite3/lib/trace.js:19:31)
at Statement.errBack (/juice-shop/node_modules/sqlite3/lib/sqlite3.js:14:21)
Unhandled rejection SequelizeDatabaseError: SQLITE_ERROR: no such table: Complaints
at Query.formatError (/juice-shop/node_modules/sequelize/lib/dialects/sqlite/query.js:422:16)
at Query._handleQueryResponse (/juice-shop/node_modules/sequelize/lib/dialects/sqlite/query.js:73:18)
at afterExecute (/juice-shop/node_modules/sequelize/lib/dialects/sqlite/query.js:250:31)
at replacement (/juice-shop/node_modules/sqlite3/lib/trace.js:19:31)
at Statement.errBack (/juice-shop/node_modules/sqlite3/lib/sqlite3.js:14:21)
π³ Your Environment
Node: v12.7.0
NPM: 6.10.0
OS: Linux Mint 18.3 (Sylvia)
Additional Information
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
SQLITE_ERROR: no such table: Wallet Β· Issue #1380 ... - GitHub
Run docker run --rm -p 3000:3000 bkimminich/juice-shop. π₯ Exception or Error. output is the same for both Docker and local setup: > juice-shop@Β ......
Read more >SequelizeDatabaseError: SQLITE_ERROR: no such table
I'm using Sequelize with sqlite and when i try to insert data to the table gives me the error
Read more >bkimminich/juice-shop - Gitter
This error originated either by throwing inside of an async function ... Unhandled rejection SequelizeDatabaseError: SQLITE_ERROR: no such table: Feedbacks
Read more >SQLITE_ERROR: no such table - SAP Community
Hi, in an attempt to learn about the authentication and authorisation in CAP apps on Cloud Foundry I have been using this documentationΒ ......
Read more >Troubleshooting - Pwning OWASP Juice Shop
If you are sure to have found a bug in the Juice Shop itself please open ... Please do not file questions or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Iβve ran into this issue on an alternate machine before. I donβt know how to fix it as of now and have been unable to reproduce the error, but itβs actually little more than a mild annoyance. If you let it run for a minute, the same errors pop up a few times, after the which the application starts and runs normally without any issues
Iβll add that to the Troubleshooting guide as a recommendationβ¦ The classic βplease try again laterββ¦ π