为什么系统找不到指定的路径? [英] Why the system cannot find the specified path?

查看:0
本文介绍了为什么系统找不到指定的路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在尝试运行的位置遇到问题: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
.terraformproviders
egistry.terraform.iohashicorpaws3.24.1windows_amd64	erraform-provider-aws_v3.24.1_x5.exe:
The system cannot find the path specified.

推荐答案

我将所有文件移动到c:erraform文件夹,它工作正常。我不知道为什么,因为我在Windows中打开了长路径,整个路径是116个符号,不超过255个。

这篇关于为什么系统找不到指定的路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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