We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am getting an error when trying to install it using Lazy:
{ 'nvim-neotest/neotest', dependencies = { 'nvim-neotest/nvim-nio', 'nvim-lua/plenary.nvim', 'antoinemadec/FixCursorHold.nvim', 'nvim-treesitter/nvim-treesitter', }, config = function() require('neotest').setup { adapters = { require 'neotest-python' { dap = { justMyCode = false }, args = { '--log-level', 'DEBUG' }, runner = 'pytest', pytest_discover_instances = true, }, }, } end, }
results in the following error
Failed to run `config` for neotest /Users/norpadon/.config/nvim/lua/custom/plugins/neotest.lua:13: module 'neotest-python' not found: ^Ino field package.preload['neotest-python'] cache_loader: module neotest-python not found cache_loader_lib: module neotest-python not found ^Ino file './neotest-python.lua' ^Ino file '/opt/homebrew/share/luajit-2.1/neotest-python.lua' ^Ino file '/usr/local/share/lua/5.1/neotest-python.lua' ^Ino file '/usr/local/share/lua/5.1/neotest-python/init.lua' ^Ino file '/opt/homebrew/share/lua/5.1/neotest-python.lua' ^Ino file '/opt/homebrew/share/lua/5.1/neotest-python/init.lua' ^Ino file './neotest-python.so' ^Ino file '/usr/local/lib/lua/5.1/neotest-python.so' ^Ino file '/opt/homebrew/lib/lua/5.1/neotest-python.so' ^Ino file '/usr/local/lib/lua/5.1/loadall.so' # stacktrace: - .config/nvim/lua/custom/plugins/neotest.lua:13 _in_ **config** - .config/nvim/init.lua:238
The text was updated successfully, but these errors were encountered:
From neotest docs (https://github.com/nvim-neotest/neotest):
To get started you will also need to install an adapter for your test runner.
There is no neotest-python dependency in your config. Just add it:
dependencies = { 'nvim-neotest/nvim-nio', 'nvim-lua/plenary.nvim', 'antoinemadec/FixCursorHold.nvim', 'nvim-treesitter/nvim-treesitter', 'nvim-neotest/neotest-python', }
Sorry, something went wrong.
No branches or pull requests
I am getting an error when trying to install it using Lazy:
results in the following error
The text was updated successfully, but these errors were encountered: