Getting "couldn't find file './webpack/admin.bundle'" when I run dev server

(George Stoumpos) #1

Hi all,

I’m getting this error
ActionView::Template::Error (couldn't find file './webpack/admin.bundle' under '/Volumes/Backup/stoge/.rvm/gems/ruby-2.1.4/bundler/gems/push_type-8c1cd52c3b00/admin/app/assets/javascripts' with type 'application/javascript'

any ideas?

Getting some errors on page load
Pagination links are broken in asset-field-modal
Having trouble upgrading to 0.10.0
Couldn't find file './webpack/admin.bundle'
(Aaron Russell) #2

Looking at the above, I’m guessing you added pushtype to your Gemfile referencing the git repo. This won’t work.

It’s not really a bug, just the way pushtype is as not all the compiled javascript assets are committed to the git repo. This can change (and probably should in future), but for now just reference the latest version number:

gem 'push_type', '~> 0.9.5'

Let me know if you need further help.