私はちょうど私のWindows 10にChocolyをインストールしたばかりです(私はcmd-stuffに慣れていないと思います)。chocolyが動作しない:chocoキーワードがエラーをスローする:ディレクトリを作成できない
...Maximum tries of 3 reached. Throwing error. Cannot create directory "C:\ProgramData\chocolatey\config"...
をそして、それはパスの使用何か言う「C:\はProgramData \チョコレートのよう\の設定が」阻止されると言うチョコキーワードを使用してエラー。
"C:\ ProgramData \ chocolatey"というパスに移動すると、明らかに "config"ディレクトリは存在しません。チョコレートが効くようにするにはどうすればいいですか?
完全なエラー情報:
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. Kaikki oikeudet pidätetään.
C:\xampp\htdocs\opettelu\react>cd C:\
C:\>choco install atom
This is try 1/3. Retrying after 300 milliseconds.
Error converted to warning:
Polun C:\ProgramData\chocolatey\config käyttäminen on estetty.
This is try 2/3. Retrying after 400 milliseconds.
Error converted to warning:
Polun C:\ProgramData\chocolatey\config käyttäminen on estetty.
Maximum tries of 3 reached. Throwing error.
Cannot create directory "C:\ProgramData\chocolatey\config". Error was:
System.UnauthorizedAccessException: Polun C:\ProgramData\chocolatey\config käyttäminen on estetty.
kohteessa System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
kohteessa System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
kohteessa System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
kohteessa chocolatey.infrastructure.filesystem.DotNetFileSystem.<>c__DisplayClass60.<create_directory>b__5f()
kohteessa chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass1.<retry>b__0()
kohteessa chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds, Boolean isSilent)
kohteessa chocolatey.infrastructure.filesystem.DotNetFileSystem.create_directory(String directoryPath)
kohteessa chocolatey.infrastructure.filesystem.DotNetFileSystem.create_directory_if_not_exists(String directoryPath, Boolean ignoreError)
Polun C:\ProgramData\chocolatey\config käyttäminen on estetty.
C:\>
感謝。