P
Prismaā€¢3mo ago
UTLogicLabs

Seeding New SqliteDB in Epic Stack

am trying to create a new Epic Stack application on a old Windows 10 laptop. When I try to run the setup it seems to break while trying to seed. Environment variables loaded from .env Running seed command tsx prisma/seed.ts ... šŸŒ± Seeding... SqliteError: unable to open database file at new Database (C:\Users\joshua.dix\Projects\Personal\portfolio\node_modules\better-sqlite3\lib\database.js:69:26) at cleanupDb (C:\Users\joshua.dix\Projects\Personal\portfolio\tests\db-utils.ts:142:13) at seed (C:\Users\joshua.dix\Projects\Personal\portfolio\prisma\seed.ts:20:8) at <anonymous> (C:\Users\joshua.dix\Projects\Personal\portfolio\prisma\seed.ts:222:1) { code: 'SQLITE_CANTOPEN' } An error occurred while running the seed command: Error: Command failed with exit code 1: tsx prisma/seed.ts The above is where it the setup cuts out and I am not sure how to go about fixing this. I have looked at prisma to see if there was any issues running tsx prisma/seed.ts and I believe I am not have issues there but rather with the Sqlite DB file possibly being locked up. Any help would be greatly appreciated. System: OS: Window 10 GIT: 2.46.2.windows.1 NodeJS: v20.18.0 NPM: 10.4.0 Also I posted this in the Epic Stack help channel
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server