我正试图在Heroku上部署应用程序,但在推进过程中,似乎出现了一些错误。
当我启动控制台命令时
git push heroku master在安装依赖项时,我会增加此错误。
链轮::FileNotFound:无法找到文件“角-路由/角-路由”
我和Bower一起安装了角形路线:
Bowerfile
# A sample Bowerfile
# Check out https://github.com/42dev/bower-rails#ruby-dsl-configuration for more options
# asset 'bootstrap'
asset 'angular'
asset 'angular-route'
asset 'bootstrap-sass-official'
# vim: ft=ruby这是我第一次在heroku上开发,所以我真的不知道在这种情况下该做什么。以前有人遇到过这个问题吗?
发布于 2015-07-24 10:02:36
您可能需要预编译和提交这样的资产:
rake assets:precompile
git add .
git commit -m 'Added precompiled assets for Heroku'
git push heroku masterhttps://stackoverflow.com/questions/31607529
复制相似问题