maxweld
09/26/2021, 8:46 AM...\test-proj01> npx prisma db push
...
...
The database is already in sync with the Prisma Schema.
Running Generate ....
Generated Prisma Client (3.1.1) to .\node_modules\@prisma\client in 94ms
Error: EPERM: operation not permitted, unlink 'C:\Users\david\AppData\Roaming\npm-cache\_npx\40924\node_modules\prisma\node_modules\@prisma\engines\query_engine-windows.dll.node'
at Object.unlinkSync (fs.js:1251:3)
at fixWinEPERMSync (C:\Program Files\nodejs\node_modules\npm\node_modules\rimraf\rimraf.js:219:13)
at rimrafSync (C:\Program Files\nodejs\node_modules\npm\node_modules\rimraf\rimraf.js:319:28)
at C:\Program Files\nodejs\node_modules\npm\node_modules\rimraf\rimraf.js:350:5
at Array.forEach (<anonymous>)
at rmkidsSync (C:\Program Files\nodejs\node_modules\npm\node_modules\rimraf\rimraf.js:349:26)
at rmdirSync (C:\Program Files\nodejs\node_modules\npm\node_modules\rimraf\rimraf.js:342:7)
at fixWinEPERMSync (C:\Program Files\nodejs\node_modules\npm\node_modules\rimraf\rimraf.js:217:5)
at rimrafSync (C:\Program Files\nodejs\node_modules\npm\node_modules\rimraf\rimraf.js:319:28)
at C:\Program Files\nodejs\node_modules\npm\node_modules\rimraf\rimraf.js:350:5
I am using Typescript, Vue 3 and mySQL (package.json) attached.
This is the second time I ran the command, but I got similar results the first time, just it build the DB in mySql first that time.
I have attached the Debug Log. At the end it seems to be saying that it is unable to access a dll
'C:\\Users\\david\\Documents\\My-Computing-Projects\\Vue-Prisma\\test-proj01\\node_modules\\prisma\\query_engine-windows.dll.node'
This file does not seem to exist.
Does anybody have any thoughts on what is going on here?
Thanks in advanceRyan
09/27/2021, 7:54 AMmaxweld
09/27/2021, 8:56 AMRyan
09/27/2021, 9:43 AM