Skip to content

Running jupyterhub #43

Description

@lauri-codes

I wanted to try and run the jupyterhub part of the dev setup, and was following the README. When I first run uv run poe hub after doing the setup, I get an error:

Failed to find proxy ['configurable-http-proxy']
    The proxy can be installed with `npm install -g configurable-http-proxy`.To install `npm`, install nodejs which includes `npm`.If you see an `EACCES` error or permissions error, refer to the `npm` documentation on How To Prevent Permissions Errors.
[C 2025-03-12 14:27:20.634 JupyterHub app:3139] Failed to start proxy
    Traceback (most recent call last):
      File "/home/lauri/repositories/nomad-distro-dev/.venv/lib/python3.12/site-packages/jupyterhub/app.py", line 3137, in start
        await self.proxy.start()
      File "/home/lauri/repositories/nomad-distro-dev/.venv/lib/python3.12/site-packages/jupyterhub/proxy.py", line 754, in start
        self.proxy_process = Popen(
                             ^^^^^^
      File "/home/lauri/.local/share/uv/python/cpython-3.12.6-linux-x86_64-gnu/lib/python3.12/subprocess.py", line 1026, in __init__
        self._execute_child(args, executable, preexec_fn, close_fds,
      File "/home/lauri/.local/share/uv/python/cpython-3.12.6-linux-x86_64-gnu/lib/python3.12/subprocess.py", line 1955, in _execute_child
        raise child_exception_type(errno_num, err_msg, err_filename)
    FileNotFoundError: [Errno 2] No such file or directory: 'configurable-http-proxy'

This could be fixed by installing that npm package: npm install -g configurable-http-proxy. Did I miss some step in the install, or should we document this step in the README? Or can we install that package as part of the setup? I did not look much further who is trying to run this proxy (comes from somewhere underneath nomad admin run hub).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions