Skip to content

plugin [Available] method error #12

@zdziejowski

Description

@zdziejowski

When I try to list the available PHP versions to install, I encounter an error:

> vfox install php   
   
No php version provided, do you want to select a version to install? [y/N]: Yes
plugin [Available] method error:  /home/wojtek/.version-fox/plugin/php/hooks/available.lua:46: attempt to index a non-table object(nil) with key 'body'
stack traceback:
        /home/wojtek/.version-fox/plugin/php/hooks/available.lua:46: in function </home/wojtek/.version-fox/plugin/php/hooks/available.lua:42>
        (tailcall): ?
        [G]: in main chunk
        [G]: ?
stack traceback:
        [G]: in main chunk
        [G]: ?
failed to install php

Update:
Installing a specific version does not work either:

vfox install [email protected]
plugin [PreInstall] method error: /home/wojtek/.version-fox/plugin/php/hooks/pre_install.lua:32: version not found for provided version 8.4.6
stack traceback:
[G]: in function 'error'
/home/wojtek/.version-fox/plugin/php/hooks/pre_install.lua:32: in main chunk
[G]: ?
failed to install php

Linux

  • OS: EndeavourOS x86_64
  • Kernel: Linux 6.14.5-arch1-1
  • Shell: zsh 5.9
  • DE: KDE Plasma 6.3.5
  • WM: KWin (Wayland)
  • Terminal: konsole 25.4.0
  • Locale: pl_PL.UTF-8

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