两个月之后,我没有推送任何东西,我正在推送到我的heroku应用程序,我发现了一些编译错误。这是我尝试`git push heroku master'时的输出
Counting objects: 25, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (25/25), done.
Writing objects: 100% (25/25), 16.64 KiB | 0 bytes/s, done.
Total 25 (delta 19), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Revel app detected
remote: -----> Using go1.4
remote: -----> Running: go get -tags heroku ./...
remote: # ndc-console-test/app/controllers
remote: app/controllers/app.go:160: c.RenderJson undefined (type App has no field or method RenderJson)
remote: app/controllers/app.go:170: c.RenderArgs undefined (type App has no field or method RenderArgs)
remote: app/controllers/app.go:171: c.RenderArgs undefined (type App has no field or method RenderArgs)
remote: app/controllers/app.go:172: c.RenderArgs undefined (type App has no field or method RenderArgs)
remote: app/controllers/app.go:173: c.RenderArgs undefined (type App has no field or method RenderArgs)
remote: app/controllers/app.go:191: c.RenderArgs undefined (type App has no field or method RenderArgs)
remote: app/controllers/app.go:192: c.RenderArgs undefined (type App has no field or method RenderArgs)
remote: app/controllers/app.go:193: c.RenderArgs undefined (type App has no field or method RenderArgs)
remote: app/controllers/app.go:194: c.RenderArgs undefined (type App has no field or method RenderArgs)
remote: app/controllers/app.go:195: c.RenderArgs undefined (type App has no field or method RenderArgs)
remote: app/controllers/app.go:195: too many errors
remote: # ndc-console-test/app/routes
remote: app/routes/routes.go:15: revel.MainRouter.Reverse("App.Index", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:22: revel.MainRouter.Reverse("App.Ndc", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:29: revel.MainRouter.Reverse("App.FlightPrice", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:36: revel.MainRouter.Reverse("App.SeatAvailability", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:43: revel.MainRouter.Reverse("App.OrderCreateRQ", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:50: revel.MainRouter.Reverse("App.ServicePrice", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:57: revel.MainRouter.Reverse("App.OrderRetrieve", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:64: revel.MainRouter.Reverse("App.OrderChange", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:71: revel.MainRouter.Reverse("App.OrderCancel", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:83: revel.MainRouter.Reverse("TestRunner.Index", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:83: too many errors
remote: ! Push rejected, failed to compile Revel app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to ndc-console.
应用程序在我最后一次推送时工作,我没有修改发现错误的文件......并且应该存在方法(在某些情况下)和字段(在其他情况下)。
提前感谢。
PS:在heroku应用程序中添加了revel buildpack。
可能是go和/或devel版本?我已经安装了revel 0.13.1并且我已经看到v0.14.0已经发布(仅不到两个月前)。关于golang我重新安装它,我有最新版本。