You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Error: Error: ETXTBSY: text file is busy, copyfile '/root/go/src/github.com/SvitlanaShepitsena/matevaman/nexus/node_modules/prisma2/build/query-engine-linux-glibc-libssl1.1.0' -> '/root/go/src/github.com/SvitlanaShepitsena/matevaman/nexus/node_modules/@generated/photon/runtime/query-engine-linux-glibc-libssl1.1.0'", "error Command failed with exit code 1."], "stdout": "yarn install v1.19.1\n[1/4] Resolving packages...\nsuccess Already up-to-date.\n$ yarn -s generate\n\n\nGenerating Photon.js to /root/go/src/github.com/SvitlanaShepitsena/matevaman/nexus/node_modules/@generated/photon\ninfo Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.", "stdout_lines": ["yarn install v1.19.1", "[1/4] Resolving packages...", "success Already up-to-date.", "$ yarn -s generate", "", "", "Generating Photon.js to /root/go/src/github.com/SvitlanaShepitsena/matevaman/nexus/node_modules/@generated/photon", "info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command."]}
I got this error when I try to run prisma2 generate or just yarn and via scripts it runs prisma2 generate. I got this error on my development machine Ubuntu 19.10 and also on my production workstation with Ubuntu 16.04.
The solution is to purge node_modules and install it again - then everything works fine.
Thank you
Can you please share the version of Prisma 2 that you are using? Also, can you list out exact steps to reproduce this? Also, please share your datamodel if possible :)
@pantharshit00 Facing the same issue on my end as well. Run prisma2 dev and then save the schema.prisma file with/without making any change and my cli throws this error. Have to run prisma2 dev again after this.
Version of Prisma2: [email protected], binary version: 3c4da1d6caa0c40a0210a346ec982c77f74e18c7
Activity
[-]Error with prisma2 generate[/-][+]Error with prisma2 generate command.[/+]pantharshit00 commentedon Nov 21, 2019
@SvitlanaShepitsena
Can you please share the version of Prisma 2 that you are using? Also, can you list out exact steps to reproduce this? Also, please share your datamodel if possible :)
tvvignesh commentedon Dec 16, 2019
@pantharshit00 Facing the same issue on my end as well. Run
prisma2 devand then save theschema.prismafile with/without making any change and my cli throws this error. Have to runprisma2 devagain after this.Version of Prisma2:
[email protected], binary version: 3c4da1d6caa0c40a0210a346ec982c77f74e18c7Data model:
pantharshit00 commentedon Dec 17, 2019
Continuing discussion on #1157