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

缺失依赖项 luci-compat #2229

Closed
aueu opened this issue Apr 5, 2022 · 3 comments
Closed

缺失依赖项 luci-compat #2229

aueu opened this issue Apr 5, 2022 · 3 comments
Labels

Comments

@aueu
Copy link

@aueu aueu commented Apr 5, 2022

上游官方镜像v21.02.2,安装openclash后出现问题
安装luci-compat后恢复

/usr/lib/lua/luci/controller/openclash.lua:91: module 'luci.cbi.datatypes' not found:
	no field package.preload['luci.cbi.datatypes']
	no file './luci/cbi/datatypes.lua'
	no file '/usr/share/lua/luci/cbi/datatypes.lua'
	no file '/usr/share/lua/luci/cbi/datatypes/init.lua'
	no file '/usr/lib/lua/luci/cbi/datatypes.lua'
	no file '/usr/lib/lua/luci/cbi/datatypes/init.lua'
	no file './luci/cbi/datatypes.so'
	no file '/usr/lib/lua/luci/cbi/datatypes.so'
	no file '/usr/lib/lua/loadall.so'
	no file './luci.so'
	no file '/usr/lib/lua/luci.so'
	no file '/usr/lib/lua/loadall.so'
stack traceback:
	[C]: in function 'require'
	/usr/lib/lua/luci/controller/openclash.lua:91: in main chunk
	[C]: in function 'require'
	/usr/lib/lua/luci/dispatcher.lua:917: in function 'createindex'
	/usr/lib/lua/luci/dispatcher.lua:999: in function 'createtree'
	/usr/lib/lua/luci/dispatcher.lua:584: in function 'menu_json'
	/usr/lib/lua/luci/dispatcher.lua:671: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:412: in function </usr/lib/lua/luci/dispatcher.lua:411>
@aueu
Copy link
Author

@aueu aueu commented Apr 5, 2022

#1609

建议添加到依赖中

@tian4546
Copy link

@tian4546 tian4546 commented Apr 11, 2022

是的 这个目前要手动安装

@github-actions
Copy link

@github-actions github-actions bot commented Jun 10, 2022

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants