Ruby on rails 错误:主页中的Webpacker::Manifest::MissingEntryError#欢迎使用ruby on rails

Ruby on rails 错误:主页中的Webpacker::Manifest::MissingEntryError#欢迎使用ruby on rails,ruby-on-rails,reactjs,npm,webpack,rubygems,Ruby On Rails,Reactjs,Npm,Webpack,Rubygems,我正在尝试将react与rails结合起来,开发一个hello world应用程序。 我将遵循()进行教程,并在添加时被卡住 <%= javascript_pack_tag 'application' %> <%= react_component("Indexblog", { greeting: "Hello from react-rails." }) %> 有人能帮我吗?我一直在努力研究,但仍然没有解决我的问题。谢谢。检查此项,看看此答案是否有助于您: Webpack

我正在尝试将react与rails结合起来,开发一个hello world应用程序。 我将遵循()进行教程,并在添加时被卡住

<%= javascript_pack_tag 'application' %>
<%= react_component("Indexblog", { greeting: "Hello from react-rails." }) %>
有人能帮我吗?我一直在努力研究,但仍然没有解决我的问题。谢谢。

检查此项,看看此答案是否有助于您:
Webpacker::Manifest::MissingEntryError in Homepage#welcome
Showing C:/Users/Hieu Vo/Desktop/simpleblog/myblogg/app/views/homepage/welcome.html.erb where line #4 raised:

Webpacker can't find application.js in C:/Users/Hieu Vo/Desktop/simpleblog/myblogg/public/packs/manifest.json. Possible causes:
1. You want to set webpacker.yml value of compile to true for your environment
   unless you are using the `webpack -w` or the webpack-dev-server.
2. webpack has not yet re-run to reflect updates.
3. You have misconfigured Webpacker's config/webpacker.yml file.
4. Your webpack configuration is not creating a manifest.
Your manifest contains:
{
}