toshi-ue / nowastefood Goto Github PK
View Code? Open in Web Editor NEWnowastefood(食材放置を予防アプリ)
Home Page: https://nowastefood.herokuapp.com/
nowastefood(食材放置を予防アプリ)
Home Page: https://nowastefood.herokuapp.com/
heroku open
を実行すると以下のような画面が表示された。
エラーの原因はWebpacker can't find favicon.ico in /webapp/public/packs/manifest.json.
と思われる。
2023-02-07T11:35:03.520874+00:00 app[web.1]: E, [2023-02-07T11:35:03.520828 #4] ERROR -- : [ce94510a-1457-4061-804d-614c6e04e6f1] Webpacker can't find favicon.ico in /webapp/public/packs/manifest.json. Possible causes:
2023-02-07T11:35:03.520875+00:00 app[web.1]: 1. You want to set webpacker.yml value of compile to true for your environment
2023-02-07T11:35:03.520875+00:00 app[web.1]: unless you are using the `webpack -w` or the webpack-dev-server.
2023-02-07T11:35:03.520876+00:00 app[web.1]: 2. webpack has not yet re-run to reflect updates.
2023-02-07T11:35:03.520876+00:00 app[web.1]: 3. You have misconfigured Webpacker's config/webpacker.yml file.
2023-02-07T11:35:03.520877+00:00 app[web.1]: 4. Your webpack configuration is not creating a manifest.
2023-02-07T11:35:03.520877+00:00 app[web.1]: Your manifest contains:
2023-02-07T11:35:03.520878+00:00 app[web.1]: {
2023-02-07T11:35:03.520878+00:00 app[web.1]: }
2023-02-07T11:35:03.520879+00:00 app[web.1]:
2023-02-07T11:35:03.520972+00:00 app[web.1]: E, [2023-02-07T11:35:03.520919 #4] ERROR -- : [ce94510a-1457-4061-804d-614c6e04e6f1] /usr/local/bundle/gems/webpacker-5.4.4/lib/webpacker/manifest.rb:79:in `handle_missing_entry'
ただしheroku run cat public/packs/manifest.json
を実行すると以下のログが表示されるのでエラー内容とあっていない。
heroku run cat public/packs/manifest.json
#=> Running cat public/packs/manifest.json on ⬢ nowastefood... up, run.8784 (Basic)
#=> failed to connect in_fd as stdin: Bad file descriptor
#=> failed to connect logger to stdout: Bad file descriptor
#=> failed to connect logger to stdout: Bad file descriptor
#=> /usr/bin/entrypoint.sh: line 10: [: too many arguments
#=> {
#=> "application.js": "/packs/js/application-4a0aed599136666a7edf.js",
#=> "application.js.map": "/packs/js/application-4a0aed599136666a7edf.js.map",
#=> "entrypoints": {
#=> "application": {
#=> "js": [
#=> "/packs/js/application-4a0aed599136666a7edf.js"
#=> ],
#=> "js.map": [
#=> "/packs/js/application-4a0aed599136666a7edf.js.map"
#=> ]
#=> }
#=> },
#=> "media/images/about_top_image.jpg": "/packs/media/images/about_top_image-98eb2c744eb8245a12366971abfd128c.jpg",
#=> "media/images/campfires.jpg": "/packs/media/images/campfires-e4621faf179725961400c039f3ab25f2.jpg",
#=> "media/images/favicon.ico": "/packs/media/images/favicon-9fc70f5a8a6663faab3104a35b703b38.ico",
#=> "media/images/leaf_16_png.png": "/packs/media/images/leaf_16_png-67440c88ebf5006dc5f9073eb5743610.png",
#=> "media/images/mabo-do-fu.jpg": "/packs/media/images/mabo-do-fu-9bd1303e3586b1a8c0de9accf44d22ce.jpg",
#=> "media/images/no_avatar.jpg": "/packs/media/images/no_avatar-4da97e432e4536bc58a087a1723570ec.jpg",
#=> "media/images/no_image_100x100.jpg": "/packs/media/images/no_image_100x100-fb3450d13a18c34795296e3969c62544.jpg",
#=> "media/images/salad.jpg": "/packs/media/images/salad-63ef64334fb0f0d691d0f08c10c8a7e3.jpg",
#=> "media/images/sample_brand_name_image.png": "/packs/media/images/sample_brand_name_image-7317eac85e56e9503cf5f0a602781f71.png",
#=> "media/images/test.jpg": "/packs/media/images/test-a753adfe50ac8488228b30880472e22e.jpg"
#=> }
ここにIssueの概要を書く
Why
もここに書くと良いと思う
別途記載する必要があれば書く
今日の献立から料理履歴へのアクセスが悪い。
パッと見た時わかりにくい。
レシピ登録の概要登録後画面の手順、食材の登録、変更ボタンを単一化する
現在ではローカルでしか動作確認できていない。
最終目標はHerokuに公開して問題なく動作すること。
config/environments/production.heroku.rb
database.heroku.rb
heroku.yml
puma.heroku.rb
現状ではnginxを使う必要がないので使用するのを中止する。
記述部分をコメントアウトして、必要なときにコメントアウトを解除して使えるようにしておく
料理一覧から今日の献立へのアクセスが悪い。
お気に入り一覧から今日の献立へのアクセスが悪い。
CircleCIのバージョンが上がったことで既存のconfig/yml
の設定で動作しなくなった。
設定を修正して動作するように変更する。
また動作していなかったRubocopの設定も見直し、修正する。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.