Equilibris / nx.nvim

A simple tool providing the same features as the NX console does for vs-code
The Unlicense
91 stars 15 forks source link

nx generators list empty #8

Closed technbuzz closed 1 year ago

technbuzz commented 1 year ago

I managed to create a library for the first time. But when I tried to create to open the generators window in telescope by typing :Telescope nx generators

An empty telescope windows showed up?

Equilibris commented 1 year ago

Hi could you run the command :lua require('nx.read-configs').read_nx_root() and send the output of :lua require('nx.utils').pd(_G.nx)

sschneider-ihre-pvs commented 1 year ago

:lua require('nx.read-configs').read_nx_root()

E5108: Error executing lua ...m\site\pack\packer\start\nx.nvim/lua\nx\read-configs.lua:36: attempt to index field 'nx' (a nil value)
stack traceback:
        ...m\site\pack\packer\start\nx.nvim/lua\nx\read-configs.lua:36: in function 'read_nx'
        ...m\site\pack\packer\start\nx.nvim/lua\nx\read-configs.lua:119: in function 'read_nx_root'
        [string ":lua"]:1: in main chunk

:lua require('nx.utils').pd(_G.nx)

nil
Equilibris commented 1 year ago

Hi, closing this issue since it should be fixed now. Please reopen if it does not work