为了账号安全,请及时绑定邮箱和手机立即绑定

Go Buffalo:ERRO[0000] 错误:不允许使用名称 buffalodevn

Go Buffalo:ERRO[0000] 错误:不允许使用名称 buffalodevn

Go
凤凰求蛊 2023-08-14 16:23:38
当尝试在我的 Go 路径中启动一个新的 buffalo 项目时,我收到此错误,在我的搜索中,我没有在文档或不同论坛上的其他问题中看到任何对此错误的引用。我尝试过不同形式的不同名称,但总是遇到相同的错误,但我不明白为什么。(尝试过没有水牛的名字)ERRO[0000] Error: name buffalodevn is not allowed, try a different application name当我运行布法罗信息时-> Go: Checking installation✓ The `go` executable was found on your system at: /usr/local/go/bin/go-> Go: Checking minimum version requirements✓ Your version of Go, 1.13.4, meets the minimum requirements.-> Go: Checking GOPATH✓ You are using Go Modules, so no need to worry about the GOPATH.-> Go: Checking Package Management✓ You are using Go Modules (`go`) for package management.-> Go: Checking PATH✓ Your PATH contains /home/alexmerced/go/bin.-> Node: Checking installation✓ The `node` executable was found on your system at: /usr/bin/node-> Node: Checking minimum version requirements✓ Your version of Node, v12.13.1, meets the minimum requirements.-> NPM: Checking installation✓ The `npm` executable was found on your system at: /usr/bin/npm-> NPM: Checking minimum version requirements✓ Your version of NPM, 6.13.4, meets the minimum requirements.-> Yarn: Checking installation✘ The `yarnpkg` executable could not be found on your system.For help setting up your Yarn environment please follow the instructions for you platform at:https://yarnpkg.com/en/docs/install-> PostgreSQL: Checking installation✘ The `postgres` executable could not be found on your system.For help setting up your Postgres environment please follow the instructions for you platform at:https://www.postgresql.org/download/
查看完整描述

1 回答

?
婷婷同学_

TA贡献1844条经验 获得超8个赞

我发现了你的问题,因为我遇到了同样的问题并寻找解决方案......然后我查看了源代码并发现:

fb := append(opts.ForbiddenNames, "buffalo", "test", "dev")

所以看来名称不允许包含“buffalo”、“test”或“dev”。


查看完整回答
反对 回复 2023-08-14
  • 1 回答
  • 0 关注
  • 73 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信