當嘗試在我的 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”。
- 1 回答
- 0 關注
- 159 瀏覽
添加回答
舉報
0/150
提交
取消