Windows 为什么系统找不到指定的路径?

Windows 为什么系统找不到指定的路径?,windows,amazon-web-services,terraform,Windows,Amazon Web Services,Terraform,我在尝试运行时遇到了一个问题:terraform init位于我的项目的模块文件夹中,我收到了下面的一个错误。当我运行terraform init时,不是在模块中,而是在主文件夹中,一切正常:terraform已成功初始化! 我正在使用Terraform版本0.14.6的Windows 10 我在特定目录中有一个文件。为什么我会收到这个错误 Initializing the backend... Initializing provider plugins... - Finding hashic

我在尝试运行时遇到了一个问题:terraform init位于我的项目的模块文件夹中,我收到了下面的一个错误。当我运行terraform init时,不是在模块中,而是在主文件夹中,一切正常:terraform已成功初始化! 我正在使用Terraform版本0.14.6的Windows 10

我在特定目录中有一个文件。为什么我会收到这个错误

Initializing the backend...

Initializing provider plugins...
- Finding hashicorp/aws versions matching "~> 3.24.1"...
- Installing hashicorp/aws v3.24.1...

Error: Failed to install provider

Error while installing hashicorp/aws v3.24.1: open
.terraform\providers\registry.terraform.io\hashicorp\aws\3.24.1\windows_amd64\terraform-provider-aws_v3.24.1_x5.exe:
The system cannot find the path specified.

我将所有文件移到c:\terraform文件夹,效果很好。我不知道为什么,因为我在windows中打开了“长路径”,整个路径是116个符号,但不超过255个