AgentGPT icon indicating copy to clipboard operation
AgentGPT copied to clipboard

Failed to run in the Windows operating system

Open jmgood opened this issue 1 year ago • 2 comments

C:\tools\AgentGPT>npx prisma db push Environment variables loaded from .env Prisma schema loaded from prisma\schema.prisma Datasource "db": SQLite database "db.sqlite" at "file:./db.sqlite"

Error: Migration engine exited. Error: Command failed with exit code 3221225781: C:\tools\AgentGPT\node_modules@prisma\engines\migration-engine-windows.exe cli --datasource <REDACTED> can-connect-to-database

jmgood avatar Apr 18 '23 06:04 jmgood

Can you show me the content of .env file? (make sure to redact any sensitive information it contains like token keys before posting it here)

exil0867 avatar Apr 18 '23 07:04 exil0867

Try running npx prisma doctor to repair dependencies.

APiTJLillo avatar Apr 19 '23 01:04 APiTJLillo

After repair, it is already ready

jmgood avatar Apr 24 '23 10:04 jmgood