首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Go Buffalo: ERRO[0000]错误:不允许名称buffalodevn,请尝试其他应用程序名称

Go Buffalo: ERRO[0000]错误:不允许名称buffalodevn,请尝试其他应用程序名称
EN

Stack Overflow用户
提问于 2019-12-22 01:02:48
回答 1查看 116关注 0票数 0

当我试图在我的Go路径中启动一个新的buffalo项目时,我得到了这个错误,在我的搜索中,我在不同论坛的文档或其他问题中没有看到任何关于这个错误的引用。我尝试了不同形式的不同名称,但我总是得到相同的错误,我不知道为什么。(不带buffalo的已尝试名称)

代码语言:javascript
复制
ERRO[0000] Error: name buffalodevn is not allowed, try a different application name

当我运行Buffalo Info时

代码语言:javascript
复制
-> 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/

-> MySQL: Checking installation
✘ The `mysql` executable could not be found on your system.
For help setting up your MySQL environment please follow the instructions for you platform at:

https://www.mysql.com/downloads/

-> SQLite3: Checking installation
✓ The `sqlite3` executable was found on your system at: /usr/bin/sqlite3

-> SQLite3: Checking minimum version requirements
✓ Your version of SQLite3, 3.29.0, meets the minimum requirements.

-> Cockroach: Checking installation
✘ The `cockroach` executable could not be found on your system.
For help setting up your Cockroach environment please follow the instructions for you platform at:

https://www.cockroachlabs.com/docs/stable/

-> Buffalo (CLI): Checking installation
✓ The `buffalo` executable was found on your system at: /usr/local/bin/buffalo

-> Buffalo (CLI): Checking minimum version requirements
✓ Your version of Buffalo (CLI), v0.15.3, meets the minimum requirements.

-> Buffalo: Application Details
Pwd         /home/alexmerced
Root        /home/alexmerced
GoPath      /home/alexmerced/go
PackagePkg  alexmerced
ActionsPkg  alexmerced/actions
ModelsPkg   alexmerced/models
GriftsPkg   alexmerced/grifts
WithModules true
Name        alexmerced
Bin         bin/alexmerced
VCS         
WithPop     false
WithSQLite  false
WithDep     false
WithWebpack false
WithNodeJs  false
WithYarn    false
WithDocker  false
WithGrifts  false
AsWeb       true
AsAPI       false
InApp       false
PackageJSON {map[]}
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-02-04 17:07:23

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

代码语言:javascript
复制
fb := append(opts.ForbiddenNames, "buffalo", "test", "dev")

因此,这个名称似乎不允许包含"buffalo“、"test”或"dev“。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59438153

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档