Hello,
We are having a bit of trouble providing a multi-service application that utilizes Node and Python on one of the services.
The issue is nodenv is failing to install and then failing the subsequent npm install/build steps.
Our nixpacks.toml: https://github.com/litestar-org/litestar-fullstack/blob/main/nixpacks.toml
is there something we are missing?
#12 31.94 Installing the project as an editable package...
#12 34.02 ✔ Install app 0.1.0 successful
#12 34.02
#12 34.02 🎉 All complete!
#12 34.02
#12 34.97 Inside an active virtualenv /opt/venv, reusing it.
#12 34.97 Set env var PDM_IGNORE_ACTIVE_VENV to ignore it.
#12 35.11 Traceback (most recent call last):
#12 35.11 File "/app/scripts/pre-build.py", line 36, in <module>
#12 35.11 build_npm_assets({})
#12 35.11 File "/app/scripts/pre-build.py", line 28, in build_npm_assets
#12 35.11 subprocess.run([nodeenv_command, install_dir, "--force", "--quiet"], **kwargs) # noqa: PLW1510
#12 35.11 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#12 35.12 File "/root/.nix-profile/lib/python3.11/subprocess.py", line 548, in run
#12 35.12 with Popen(*popenargs, **kwargs) as process:
#12 35.12 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
#12 35.12 File "/root/.nix-profile/lib/python3.11/subprocess.py", line 1026, in __init__
#12 35.12 self._execute_child(args, executable, preexec_fn, close_fds,
#12 35.12 File "/root/.nix-profile/lib/python3.11/subprocess.py", line 1950, in _execute_child
#12 35.12 raise child_exception_type(errno_num, err_msg, err_filename)
#12 35.12 FileNotFoundError: [Errno 2] No such file or directory: 'nodeenv'
