webpacker-react-frontend icon indicating copy to clipboard operation
webpacker-react-frontend copied to clipboard

Can't find app.js

Open mb8z opened this issue 8 years ago • 2 comments

I have tried to use your boilerplate and see how it works, but as I start my server a message like this appear: ActionView::Template::Error (Can't find app.js in /Users/NYC/Desktop/JavaScript/RailsReact/webpacker-react-frontend/public/packs/manifest.json. Is webpack still compiling?):

I haven't changed anything yet, just wanted to give it a shot.

mb8z avatar Jul 11 '17 18:07 mb8z

@Ancinek Did you run ./bin/webpack-dev-server alongside bundle exec rails s?

gauravtiwari avatar Jul 11 '17 18:07 gauravtiwari

@guaravtiwari I ran foreman start -f Procfile.dev. I see the same error while running those commands that you wrote as well.

Edit I run Rails 5.1.2 and ruby 2.3.1 - does this make any difference?

mb8z avatar Jul 11 '17 19:07 mb8z