Skip to content
New issue

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

Neotest Vitest is throwing error on rust project #63

Open
uroybd opened this issue Sep 5, 2024 · 0 comments
Open

Neotest Vitest is throwing error on rust project #63

uroybd opened this issue Sep 5, 2024 · 0 comments

Comments

@uroybd
Copy link

uroybd commented Sep 5, 2024

I was trying to debug some rust stuffs and this is the plugin that is being used although this shouldn't be the case.

Here's the error:

   Error  09:19:49 msg_show.lua_error E5108: Error executing lua ...ghnaad/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:100: Async task failed without callback: The coroutine failed with this message: 
...are/nvim/lazy/neotest-vitest/lua/neotest-vitest/init.lua:21: attempt to concatenate local 'rootPath' (a nil value)
stack traceback:
	...are/nvim/lazy/neotest-vitest/lua/neotest-vitest/init.lua: in function 'hasVitestDependency'
	...are/nvim/lazy/neotest-vitest/lua/neotest-vitest/init.lua:54: in function 'root'
	...al/share/nvim/lazy/neotest/lua/neotest/adapters/init.lua:13: in function 'adapters_with_root_dir'
	...ocal/share/nvim/lazy/neotest/lua/neotest/client/init.lua:517: in function '_update_adapters'
	...ocal/share/nvim/lazy/neotest/lua/neotest/client/init.lua:491: in function '_start'
	...ocal/share/nvim/lazy/neotest/lua/neotest/client/init.lua:186: in function '_ensure_started'
	...ocal/share/nvim/lazy/neotest/lua/neotest/client/init.lua:198: in function 'get_position'
	...ocal/share/nvim/lazy/neotest/lua/neotest/client/init.lua:150: in function <...ocal/share/nvim/lazy/neotest/lua/neotest/client/init.lua:149>
	...al/share/nvim/lazy/neotest/lua/neotest/consumers/run.lua:39: in function 'get_tree_from_args'
	...al/share/nvim/lazy/neotest/lua/neotest/consumers/run.lua:80: in function 'func'
	...ghnaad/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:173: in function <...ghnaad/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:172>
stack traceback:
	[C]: in function 'error'
	...ghnaad/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:100: in function 'close_task'
	...ghnaad/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:122: in function 'step'
	...ghnaad/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:150: in function 'run'
	[string ":lua"]:1: in main chunk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant