Skip to content

用 xamke 安装依赖时的问题 #5640

Answered by star-hengxing
batu1579 asked this question in Q&A
Discussion options

You must be logged in to vote

error: attempt to index a nil value

出现错误可以用添加 -vD 提供 log 方便分析,这里应该是 xmake bug,更新最新版本试试

下载的依赖能否像 npm 一样直接存放在项目目录中?

set_policy("package.install_locally", true)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@batu1579
Comment options

Answer selected by batu1579
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants