python prisma issue
trying to run
prisma migrate deploy
but getting the following error
Traceback (most recent call last):
File "/opt/venv/bin/prisma", line 8, in <module>
sys.exit(main())
^^^^^^
File "/opt/venv/lib/python3.11/site-packages/prisma/cli/cli.py", line 39, in main
sys.exit(prisma.run(args[1:]))
^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/prisma/cli/prisma.py", line 36, in run
entrypoint = ensure_cached().entrypoint
^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/prisma/cli/prisma.py", line 104, in ensure_cached
proc.check_returncode()
File "/root/.nix-profile/lib/python3.11/subprocess.py", line 502, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/root/.cache/prisma-python/nodeenv/bin/npm', 'install', '[email protected]']' returned non-zero exit status 1.
Installing Prisma CLI
An error ocurred while installing the Prisma CLI; npm install log: node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.36' not found (required by /nix/store/xpxln7rqi3pq4m0xpnawhxb2gs0mn1s0-gcc-12.3.0-lib/lib/libstdc++.so.6)Solution:Jump to solution
I am not sure where the version of node is coming from. But it isn't coming from Nix which is what seems to be causing the issue. Can you trying adding Node to the providers on the settings page
16 Replies
Project ID:
2890c019-be36-45c2-800b-c4c137d5295f
2890c019-be36-45c2-800b-c4c137d5295f
try adding this nixpacks.toml file to your project
is it possible to update on the web console?
I don't currently have the local version setup yet. That's how magical railway has been
hmmm let me think
bit more context I have everything on github and I just linked the services to the repo
you could add the file to your repo with github's web ui
but try setting a service variable
NIXPACKS_LIBS
to zlib
same error but now using node 21
* Install prebuilt node (21.4.0) ..... done.
An error ocurred while installing the Prisma CLI; npm install log: node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.36' not found (required by /nix/store/xpxln7rqi3pq4m0xpnawhxb2gs0mn1s0-gcc-12.3.0-lib/lib/libstdc++.so.6)
where does node come into play? does primsa for python use node under the hood?
does seem like it. btw is there a better way to send formatted logs on discord?
Solution
I am not sure where the version of node is coming from. But it isn't coming from Nix which is what seems to be causing the issue. Can you trying adding Node to the providers on the settings page
umm how do I create a deployment?
ok I've joined the priority boarding but still can't seem to update the provider settings
Can you please try refreshing the page and seeing
works guys