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
Prisma Client Python installs Node.js v23 series, prisma init does not work properly
To resolve this, specify --node=lts in the nodeenv command on line 170 of prisma/cli/_node.py (to specify that v22 should be installed) and it will work correctly.
Bug description
Prisma Client Python installs Node.js v23 series, prisma init does not work properly
To resolve this, specify --node=lts in the nodeenv command on line 170 of
prisma/cli/_node.py
(to specify that v22 should be installed) and it will work correctly.(Fix Example)
subprocess.run( [ sys.executable, '-m', 'nodeenv', str(cache_dir), *config.nodeenv_extra_args, + "--node=lts" ], check=True, stdout=sys.stdout, stderr=sys.stderr )
How to reproduce
prisma init
Expected behavior
Successful completion of init.
Prisma information
Environment & setup
Related bugs (Prisma): prisma/prisma#25463
Comments on developer issues: prisma/prisma#25560 (comment)
The text was updated successfully, but these errors were encountered: