Deployment Error: "error: undefined variable 'python38' "

I am trying to deploy the latest version of an app I have built a while ago and I now get an error during build step with the following:
error: undefined variable 'python38'
My nixpacks.toml does choose to include it manually. It used to work. Is it no longer supported?
Solution:
set your engines.node to 16
Jump to solution
14 Replies
Percy
Percy6mo ago
Project ID: N/A
Brody
Brody6mo ago
if you have a nixpacks.toml file please send it
ched_dev
ched_devOP6mo ago
nixpacks.toml:
[phases.setup]
nixPkgs = ['...','python38', 'gcc']

aptPkgs = ['build-essential', 'glibc-source']
[phases.setup]
nixPkgs = ['...','python38', 'gcc']

aptPkgs = ['build-essential', 'glibc-source']
Brody
Brody6mo ago
change python38 to python3
ched_dev
ched_devOP6mo ago
Got a pretty nasty "make" error this time.. I forgot the shortcut to save log and send here. How do I do that?
Brody
Brody6mo ago
what version of node do you use locally?
ched_dev
ched_devOP6mo ago
Currently 16x
Brody
Brody6mo ago
and that app works on 16x?
ched_dev
ched_devOP6mo ago
It builds ok, I only added these python things because I was told it was needed for other parts of the framework.
Solution
Brody
Brody6mo ago
set your engines.node to 16
ched_dev
ched_devOP6mo ago
it's alive!! Thank you for your help @Brody . You're always there for me ❤️
Brody
Brody6mo ago
no problem!
Want results from more Discord servers?
Add your server