Regarding the following error in bundle exec foreman start -f Procfile.dev
12:22:39 web.1 | from ...ruby-2.6.0/lib/ruby/2.6.0/json/common.rb:156:in 'parse': 767: unexpected token at '' (JSON::ParserError)
12:22:39 web.1 | from ...ruby-2.6.0/lib/ruby/2.6.0/json/common.rb:156:in 'parse'
12:22:39 web.1 | from ...ruby-2.6.0/gems/webpacker-4.0.0.rc.7/lib/webpacker/manifest.rb:84
Fix:
begin
JSON.parse config.public_manifest_path.read
rescue
{}
end
Did you try rails webpacker:compile?
Did you try
rails webpacker:compile?
Yeah thank you. That's worked for me.
Most helpful comment
Did you try
rails webpacker:compile?