无法在Windows 10中加载repositories.cfg [英] repositories.cfg could not be loaded in Windows 10

查看:432
本文介绍了无法在Windows 10中加载repositories.cfg的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在安装本机脚本时,出现repositories.cfg无法加载错误,请帮助我进行调试.如果您可以允许从外部下载文件,那将对我有帮助.我使用的代码是.....

while installing native-script i got repositories.cfg could not be loaded error , please help me debugging it. It would help me if you can give the way to download the file externally. The code i used was.....

@powershell -NoProfile -ExecutionPolicy绕过-Command"iex((新对象net.webclient).DownloadString('

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://www.nativescript.org/setup/win'))"

在安装过程中,它卡住了,提示c:\ user \ user-name.android \ repositories.cfg无法加载文件

during installation it gets stuck saying c:\user\user-name.android\repositories.cfg cannot load file

推荐答案

尝试一下:

通过创建一个空的repositories.cfg文件解决了错误.

Error resolved by creating an empty repositories.cfg file.

参考

这篇关于无法在Windows 10中加载repositories.cfg的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆