[英]Push rejected, why?
這是我的項目: https : //github.com/NeoXinco/LacerMarket ( https://lacermarketcorso.herokuapp.com/ )
更新錯誤!
git push heroku master
remote: -----> Preparing app for Rails asset pipeline
remote: Running: rake assets:precompile
remote: Yarn executable was not detected in the system.
remote: Download Yarn at https://yarnpkg.com/en/docs/install
remote: rake aborted!
remote: Sprockets::FileNotFound: couldn't find file 'jquery.turbolinks' with type 'application/javascript'
remote: Tasks: TOP => assets:precompile
remote: (See full trace by running task with --trace)
remote:
remote: !
remote: ! Precompiling assets failed.
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to lacermarketcorso.
remote:
To https://git.heroku.com/lacermarketcorso.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/lacermarketcorso.git
問題是您使用的是mail
而不是email
。
查看您的架構(您應該在以后的帖子中包含您的架構,而不是指向您的 github 的鏈接)
create_table "users", force: :cascade do |t|
t.string "email", default: "", null: false
t.index ["email"], name: "index_users_on_email", unique: true
t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
end
上面的錯誤表明屬性的名稱不正確。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.