Deployment Error: "error: undefined variable 'python38' "
ched-dev
HOBBYOP

a year ago

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?

0 Replies

brody
EMPLOYEE

a year ago

if you have a nixpacks.toml file please send it


ched-dev
HOBBYOP

a year ago

nixpacks.toml:

[phases.setup]
  nixPkgs = ['...','python38', 'gcc']

aptPkgs = ['build-essential', 'glibc-source']

brody
EMPLOYEE

a year ago

change python38 to python3


ched-dev
HOBBYOP

a year ago

Got a pretty nasty "make" error this time.. I forgot the shortcut to save log and send here. How do I do that?



ched-dev
HOBBYOP

a year ago


brody
EMPLOYEE

a year ago

what version of node do you use locally?


ched-dev
HOBBYOP

a year ago

Currently 16x


brody
EMPLOYEE

a year ago

and that app works on 16x?


ched-dev
HOBBYOP

a year ago

It builds ok, I only added these python things because I was told it was needed for other parts of the framework.


brody
EMPLOYEE

a year ago

set your engines.node to 16


ched-dev
HOBBYOP

a year ago

it's alive!!


ched-dev
HOBBYOP

a year ago

Thank you for your help @Brody . You're always there for me ❤️


brody
EMPLOYEE

a year ago

no problem!


Loading...