亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

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 關注
  • 159 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號