Ruby on rails Can';t推到heroku导轨6。找不到命令webpacker/预编译资产失败
当我跑的时候Ruby on rails Can';t推到heroku导轨6。找不到命令webpacker/预编译资产失败,ruby-on-rails,heroku,assets,webpacker,Ruby On Rails,Heroku,Assets,Webpacker,当我跑的时候 git push heroku master 我明白了: 3d03d9a9bed492eab33bdbd65f7.css remote: I, [2020-11-22T00:08:54.351994 #1614] INFO -- : Writing /tmp/build_9cb71dd2/public/assets/rebel-99a5cf4009e103727878a62db3995432aec733d03d9a9bed492eab33bdbd65f7.css.
git push heroku master
我明白了:
3d03d9a9bed492eab33bdbd65f7.css
remote: I, [2020-11-22T00:08:54.351994 #1614] INFO -- : Writing /tmp/build_9cb71dd2/public/assets/rebel-99a5cf4009e103727878a62db3995432aec733d03d9a9bed492eab33bdbd65f7.css.gz
remote: Compiling...
remote: Compilation failed:
remote: yarn run v1.22.4
remote: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
remote:
remote:
remote: error Command "webpack" not found.
remote:
remote:
remote: !
remote: ! Precompiling assets failed.
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed
remote: Verifying deploy...
我到处都找遍了到底发生了什么事?我该如何解决这个问题?谢谢! “错误命令”网页“未找到”-这似乎很清楚,不是吗?你是否依赖你的
包中的webpack
。json
?我有webpack gem,我不确定json是用于什么包或如何使用它。对不起,我是N00b