EndyKaufman / nest-permissions-seed

A simple application demonstrating the basic usage of permissions with NestJS.
https://nest-permissions-seed.herokuapp.com/
153 stars 14 forks source link

About error ocurred #36

Closed mozgbrasil closed 2 years ago

mozgbrasil commented 2 years ago

Good morning my friends

About error ocurred

I'm testing this project and the following error is being returned

$ npm run schema:sync
Debugger attached.

> nest-permissions-seed@0.0.2 schema:sync /workspace/EndyKaufman_nest-permissions-seed
> ts-node ./node_modules/typeorm/cli.js schema:sync

Debugger attached.
Debugger attached.
Error during schema synchronization:
Error [DriverPackageNotInstalledError]: SQLite package has not been found installed. Try to install it: npm install sqlite3 --save
    at new DriverPackageNotInstalledError (/workspace/EndyKaufman_nest-permissions-seed/src/error/DriverPackageNotInstalledError.ts:8:9)
    at SqliteDriver.loadDependencies (/workspace/EndyKaufman_nest-permissions-seed/src/driver/sqlite/SqliteDriver.ts:112:19)
    at new SqliteDriver (/workspace/EndyKaufman_nest-permissions-seed/src/driver/sqlite/SqliteDriver.ts:46:14)
    at DriverFactory.create (/workspace/EndyKaufman_nest-permissions-seed/src/driver/DriverFactory.ts:32:24)
    at new Connection (/workspace/EndyKaufman_nest-permissions-seed/src/connection/Connection.ts:115:43)
    at ConnectionManager.create (/workspace/EndyKaufman_nest-permissions-seed/src/connection/ConnectionManager.ts:64:28)
    at Object.<anonymous> (/workspace/EndyKaufman_nest-permissions-seed/src/index.ts:186:35)
    at step (/workspace/EndyKaufman_nest-permissions-seed/node_modules/typeorm/index.js:32:23)
    at Object.next (/workspace/EndyKaufman_nest-permissions-seed/node_modules/typeorm/index.js:13:53)
    at /workspace/EndyKaufman_nest-permissions-seed/node_modules/typeorm/index.js:7:71
Waiting for the debugger to disconnect...
Waiting for the debugger to disconnect...

Thanks in advance to everyone who can contribute.

EndyKaufman commented 2 years ago

This is old project, only for example how to write code with ACL in nestjs