nyoom-engineering / nyoom.nvim

A Neovim framework and doom emacs alternative for the stubborn martian hacker. Powered by fennel and the oxocarbon theme
MIT License
1.39k stars 82 forks source link

First install fails #148

Open sh4r1k7 opened 1 year ago

sh4r1k7 commented 1 year ago

tl;dr: both hotpot and packer must be installed a) prior to and b) locally or the install fails on the sync step.

I'm on Arch and strangely after installing nvim-packer-git nvim still couldn't find it, only a local git clone worked.

Additionally, I had to wipe and re-clone nyoom after installing hotpot or else it still throws:

E5108: Error executing lua vim/shared.lua:0: Expected table, got nil

sha: 947afef56a58e3d926e424d2c3d37194d357a40e

sh4r1k7 commented 1 year ago

also:

❯ bin/nyoom lock

Generating lockfile with Nyoom Nvim

Nyoom version: 947afef
NVIM v0.9.1
Build type: Release
LuaJIT 2.1.0-beta3

Compiling lockfileLoading Packer
Compiling Nyoom Doctor
Initializing Module System
Installing Packages
Compiling Nyoom Modules
Обнаружена ошибка при обработке command line:
E5108: Error executing lua [string ":lua"]:1: attempt to call field 'lockfile' (a nil value)
stack traceback:
        [string ":lua"]:1: in main chunk^C
psybersenpai commented 1 year ago

Getting the same error when running bin/nyoom sync :/

also:

❯ bin/nyoom lock

Generating lockfile with Nyoom Nvim

Nyoom version: 947afef
NVIM v0.9.1
Build type: Release
LuaJIT 2.1.0-beta3

Compiling lockfileLoading Packer
Compiling Nyoom Doctor
Initializing Module System
Installing Packages
Compiling Nyoom Modules
Обнаружена ошибка при обработке command line:
E5108: Error executing lua [string ":lua"]:1: attempt to call field 'lockfile' (a nil value)
stack traceback:
        [string ":lua"]:1: in main chunk^C
shaunsingh commented 1 year ago

I think this is because I'm using a personal fork of packer that has hacked-in lock file support, but after a while I decided against using it. I'll update nyoom to fix the issue