[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[Help](/c/help/9)

# FastHTML Deployments Failing

99 views · 1 like · 3 posts


Meera1 (@meera1) · 2024-08-18

<!-- Be sure to include all detail needed to let others see the same problem -->

Trying out FastHTML template deployment. I was successfully able to deploy FastHTML experimental template couple of days ago.
Today, I am getting following error.
Even the Offical FastHTML template has same error. 

[ERROR] ValueError: not enough values to unpack (expected 3, got 0)
Traceback (most recent call last):
  File "/var/lang/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/var/task/vc__handler__python.py", line 13, in <module>
    __vc_spec.loader.exec_module(__vc_module)
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/var/task/main.py", line 1, in <module>
    from fasthtml.common import *
  File "/var/task/fasthtml/__init__.py", line 2, in <module>
    from .core import *
  File "/var/task/fasthtml/core.py", line 14, in <module>
    from .xtend import *
  File "/var/task/fasthtml/xtend.py", line 22, in <module>
    picolink = (Link(rel="stylesheet", href=picocss),
  File "/var/task/fasthtml/components.py", line 53, in ft_hx
    return ft_html(tag, *c, **kwargs)
  File "/var/task/fasthtml/components.py", line 45, in ft_html
    tag,c,kw = ft(tag, *c, **kwargs)Child exited with error exit status 1INIT_REPORT Init Duration: 744.03 ms	Phase: invoke	Status: error	Error Type: Runtime.Unknown


Pauline P. Narvas (@pawlean) · 2024-08-18

Hi, and welcome @meera1!

Thanks for reporting, I could reproduce. I've shared it internally with the team and will report back!

If you manage to find any workarounds or a fix yourself, we'd love to hear it. :smiley:


Meera1 (@meera1) · 2024-08-19 · ♥ 1

Found out what was wrong. 
FastHTML version needs updating. 

python-fasthtml==0.4.4