webアプリケーション、組み込みサーバ後エラー Sprockets::Rails::Helper::AssetNotFound in Fruits#index

実現したいこと

WEBアプリケーションの起動を行っております。
正しくブラウザで表示を行いたいです。

よろしくお願いいたします。

発生している問題・分からないこと

環境構築後、組み込みサーバー起動するとブロッキングホストと表示され、config/environments/development.rbに、エラーに表示されている「config.hosts 以下省略」を、コピペでファイルに追加し保存、再度組み込みサーバー起動をすると画像のようなエラーが表示されております。

イメージ説明

エラーメッセージ

error

1Sprockets::Rails::Helper::AssetNotFound in Fruits#index 2Showing /home/ec2-user/environment/raisetech-live8-sample-app/app/views/layouts/application.html.slim where line #8 raised: 3 4The asset "application.css" is not present in the asset pipeline. 5Extracted source (around line #9): 6

該当のソースコード

7; @output_buffer.safe_concat(((::Temple::Utils.escape_html_safe((content_for?(:title) ? yield(:title) : 'Sortable Table Sandbox'))).to_s)); 8; @output_buffer.safe_concat(("</title><meta content=\"".freeze));@output_buffer.safe_concat(((::Temple::Utils.escape_html_safe((content_for?(:description) ? yield(:description) : 'Sortable Table Sandbox'))).to_s)); @output_buffer.safe_concat(("\" name=\"description\" />".freeze)); 9; @output_buffer.safe_concat(((stylesheet_link_tag "application", :media => 'all').to_s)); 10; @output_buffer.safe_concat(((javascript_include_tag 'application', "data-turbo-track": "reload", defer: true).to_s)); 11; @output_buffer.safe_concat(((csrf_meta_tags).to_s)); 12; @output_buffer.safe_concat(("</head><body><header>".freeze));

試したこと・調べたこと

上記の詳細・結果

下記の記事を参考にコマンドを入力後、組み込みサーバー起動をすると起動できません。イメージ説明
リンク内容

補足

特になし

コメントを投稿

0 コメント