【发布时间】:2018-08-10 16:50:12
【问题描述】:
我已经下载了Honeybadger webpack example 并运行bundle install。
我的终端没有任何错误,但在我启动服务器时得到以下信息:
Webpacker can't find application.js in /Users/admin/Documents/sourcemap/honeybadger-rails-webpacker-example/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:
{
}
适用于<%= javascript_pack_tag 'application' %>这一行
我的问题可能出在哪里?
【问题讨论】:
标签: ruby-on-rails ruby webpack