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

adapters_with_root_dir: attempt to call field 'root' (a nil value) #117

Closed
khaneliman opened this issue Sep 24, 2024 · 1 comment
Closed

Comments

@khaneliman
Copy link

Doing an update for neotest in nixpkgs and during testing with latest revision I'm seeing a bunch of these errors preventing it from working with my projects. I am able to use neotest-java so I am assuming its something that might need to be done differently in this adapter?

...ovimPackages/start/neotest/lua/neotest/adapters/init.lua:0: attempt to call field 'root' (a nil value)
stack traceback:
	...ovimPackages/start/neotest/lua/neotest/adapters/init.lua: in function 'adapters_with_root_dir'
	...NeovimPackages/start/neotest/lua/neotest/client/init.lua: in function '_update_adapters'
	...NeovimPackages/start/neotest/lua/neotest/client/init.lua: in function '_start'
	...NeovimPackages/start/neotest/lua/neotest/client/init.lua: in function '_ensure_started'
	...NeovimPackages/start/neotest/lua/neotest/client/init.lua: in function 'get_adapters'
	.../start/neotest/lua/neotest/consumers/summary/summary.lua: in function <.../start/neotest/lua/neotest/consumers/summary/summary.lua:0>
@khaneliman
Copy link
Author

Runtime error disappeared in latest bump. Might have been related to some dependencies not working correctly.

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