Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DriverPackageNotInstalledError: SQLite package has not been found installed #22

Open
tmrstian opened this issue Aug 7, 2023 · 1 comment

Comments

@tmrstian
Copy link

tmrstian commented Aug 7, 2023

Hi,

I installed both web and api parts, but I get the following error message when running the "yarn dev:api".
What did i miss?

Thank you,
/S

[nodemon] starting ts-node ./src/index.ts
DriverPackageNotInstalledError: SQLite package has not been found installed. Try to install it: npm install sqlite3 --save
at new DriverPackageNotInstalledError (/Users/svaelitalo/Downloads/react-point-of-sale-master/api/src/error/DriverPackageNotInstalledError.ts:8:9)
at SqliteDriver.loadDependencies (/Users/svaelitalo/Downloads/react-point-of-sale-master/api/src/driver/sqlite/SqliteDriver.ts:112:19)
at new SqliteDriver (/Users/svaelitalo/Downloads/react-point-of-sale-master/api/src/driver/sqlite/SqliteDriver.ts:46:14)
at DriverFactory.create (/Users/svaelitalo/Downloads/react-point-of-sale-master/api/src/driver/DriverFactory.ts:32:24)
at new Connection (/Users/svaelitalo/Downloads/react-point-of-sale-master/api/src/connection/Connection.ts:122:43)
at ConnectionManager.create (/Users/svaelitalo/Downloads/react-point-of-sale-master/api/src/connection/ConnectionManager.ts:64:28)
at Object. (/Users/svaelitalo/Downloads/react-point-of-sale-master/api/src/index.ts:218:35)
at step (/Users/svaelitalo/Downloads/react-point-of-sale-master/api/node_modules/typeorm/index.js:32:23)
at Object.next (/Users/svaelitalo/Downloads/react-point-of-sale-master/api/node_modules/typeorm/index.js:13:53)
at /Users/svaelitalo/Downloads/react-point-of-sale-master/api/node_modules/typeorm/index.js:7:71
[nodemon] clean exit - waiting for changes before restart

@Ahmedka114
Copy link

just navigate into api, and run "yarn add sqlite3 --save"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants