Anthony2beA
Denoβ€’3y agoβ€’
11 replies
Anthony2be

Prisma error when trying to push/migrate db

PS C:\Users\adubo\Desktop\freshchat> deno task push
Task push deno run -A npm:prisma@latest db push
Environment variables loaded from .env
Prisma schema loaded from prisma\schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "im not telling you"
Warning: Not implemented: ChildProcess.prototype.disconnect

Your database is now in sync with your Prisma schema. Done in 876ms

Running generate... (Use --skip-generate to skip the generators)
Warning: [Prisma auto-install on generate] Prisma could not find a package.json file in the inferred project root C:\Users\adubo\Desktop\freshchat. During the next step, when an auto-install of Prisma package(s) will be attempted, it will then be created by your package manager on the appropriate level if necessary.
npm WARN ERESOLVE overriding peer dependency
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: sucrase@3.35.0
npm WARN Found: peer eslint-plugin-import@"^2.25.2" from eslint-config-airbnb-base@15.0.0
npm WARN node_modules/.deno/sucrase@3.35.0/node_modules/sucrase/node_modules/eslint-config-airbnb-base
npm WARN   dev eslint-config-airbnb-base@"^15.0.0" from sucrase@3.35.0
npm WARN   node_modules/.deno/sucrase@3.35.0/node_modules/sucrase
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer eslint-plugin-import@"^2.25.2" from eslint-config-airbnb-base@15.0.0
npm WARN node_modules/.deno/sucrase@3.35.0/node_modules/sucrase/node_modules/eslint-config-airbnb-base
npm WARN   dev eslint-config-airbnb-base@"^15.0.0" from sucrase@3.35.0
npm WARN   node_modules/.deno/sucrase@3.35.0/node_modules/sucrase
npm ERR! Cannot read properties of null (reading 'matches')

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\adubo\AppData\Local\npm-cache\_logs\2024-01-07T05_00_04_603Z-debug-0.log
Error: Command failed with exit code 1: npm i @prisma/client@5.7.1
PS C:\Users\adubo\Desktop\freshchat> 
Was this page helpful?