Skip to content

bug: module 'noice.config.views' not found when using vim.pack instead of Lazy #1204

@rseichter

Description

@rseichter

Did you check docs and existing issues?

  • I have read all the noice.nvim docs
  • I have updated the plugin to the latest version before submitting this issue
  • I have searched the existing issues of noice.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

v0.13.0-dev-110+g8603fc9180

Operating system/version

macOS 26.4 build 25E246

Describe the bug

Is there documentation available for migrating noice from the Lazy plugin manager to vim.pack? I keep getting the following error message, and I don't know how to proceed. It could be a bug, but it's more likely that I am doing something wrong.

...im/site/pack/core/opt/noice.nvim/lua/noice/util/lazy.lua:6: module 'noice.config.views' not found:                 
        no field package.preload['noice.config.views']                                                                
        cache_loader: module 'noice.config.views' not found                                                           
        cache_loader_lib: module 'noice.config.views' not found                                                       
        no file './noice/config/views.lua'                                                                            
        no file '/Users/runner/work/neovim/neovim/.deps/usr/share/luajit-2.1/noice/config/views.lua'                  
        no file '/usr/local/share/lua/5.1/noice/config/views.lua'                                                     
        no file '/usr/local/share/lua/5.1/noice/config/views/init.lua'                                                
        no file '/Users/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/noice/config/views.lua'                     
        no file '/Users/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/noice/config/views/init.lua'                
        no file './noice/config/views.so'                                                                             
        no file '/usr/local/lib/lua/5.1/noice/config/views.so'                                                    
        no file '/Users/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/noice/config/views.so'                        
        no file '/usr/local/lib/lua/5.1/loadall.so'                                                                   
        no file './noice.so'                                                                                          
        no file '/usr/local/lib/lua/5.1/noice.so'                                                                     
        no file '/Users/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/noice.so'                                     
        no file '/usr/local/lib/lua/5.1/loadall.so'

Steps To Reproduce

Add the lines vim.pack.add { 'https://github.com/folke/noice.nvim' } and require('noice').setup {} to init.lua.

Expected Behavior

Plugin should be initialised.

Repro

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions