d2mcpp icon indicating copy to clipboard operation
d2mcpp copied to clipboard

搭建本地练习环境失败

Open wlndysky opened this issue 10 months ago • 4 comments

`PS E:\Project> xlings install d2x:mcpp-standard [xlings:xim]: package not found - d2x:mcpp-standard

    Did you mean one of these?

{ }

[xlings:xim]: please check the name and try again PS E:\Project>`

wlndysky avatar Jan 28 '26 07:01 wlndysky

是不是xlings安装过程由于网络原来没有更新包索引, 用下面的命令更新一下

xlings self update

然后再运行

xlings install d2x:mcpp-standard

如果还是这个问题, 可以把 xlings self update运行的过程贴上来一下, 可能包索引更新有问题

Sunrisepeak avatar Jan 28 '26 12:01 Sunrisepeak

`Microsoft Windows [版本 10.0.26200.7623] (c) Microsoft Corporation。保留所有权利。

E:\Project>xlings self update [xlings]: update xlings from https://gitee.com/sunrisepeak/xlings.git... [xlings]: replace old xlings files with latest... [xlings]: init xlings... [xlings]: clean xlings runtimedir(tmp-cache) D:.xlings_data\xim\runtimedir - ok [xlings]: clean xlings tmp files - ok [xlings]: config user environment... [xlings]: check xlings user group(only unix)... [xlings:xim]: create pm executor for [email protected] ... [xlings:xim]: [email protected] - already installed adding target: xim, version: 0.0.4 adding target: xinstall, version: 0.0.4 adding target: xrun, version: 0.0.4 adding target: xchecker, version: 0.0.4 adding target: xself, version: 0.0.4 adding target: d2x, version: 0.0.4

    restart cmd/shell to update env

[xlings]: init xlings - ok

E:\Project>xlings install d2x:mcpp-standard [xlings:xim]: package not found - d2x:mcpp-standard

    Did you mean one of these?

{ }

[xlings:xim]: please check the name and try again

E:\Project>`

新终端 `Microsoft Windows [版本 10.0.26200.7623] (c) Microsoft Corporation。保留所有权利。

E:\Project>xlings install d2x:mcpp-standard [xlings:xim]: package not found - d2x:mcpp-standard

    Did you mean one of these?

{ }

[xlings:xim]: please check the name and try again

E:\Project>`

wlndysky avatar Jan 28 '26 12:01 wlndysky

看xlings的安装应该没有问题, 用下面命令更新一下索引后试下

xim --update index

Sunrisepeak avatar Jan 28 '26 12:01 Sunrisepeak

成功

wlndysky avatar Jan 28 '26 12:01 wlndysky