Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling never completes Rails 5.2, ERB and compile: true #1534

Closed
raldred opened this issue May 29, 2018 · 7 comments
Closed

Compiling never completes Rails 5.2, ERB and compile: true #1534

raldred opened this issue May 29, 2018 · 7 comments

Comments

@raldred
Copy link

raldred commented May 29, 2018

webpacker: 3.5.3
rails: 5.2
ruby: 2.5.0

This is on an out the box 5.2 rails install. Added webpacker, webpacker:react & webpacker:erb
All fine apart from ERB, it hangs during requests and just sits on [Webpacker] Compiling…

@raldred raldred changed the title Compiling never completes Rails 5.2 and compile: true Compiling never completes Rails 5.2, ERB and compile: true May 29, 2018
@luislezcair
Copy link

I'm facing the same issue. It hangs because erb-loader is producing an error.
Have you tried running ./bin/webpack --progress and see if there are errors?

@jakeNiemiec
Copy link
Member

Do you use Font Awesome?

@raldred
Copy link
Author

raldred commented Dec 5, 2018

Just to be clear I'm seeing this in development with webpack dev server, production is fine.

@5andi5
Copy link

5andi5 commented Jan 17, 2019

This comment might help.

@guillaumebriday
Copy link
Member

Is this issue still relevant ?

Feel free to close it if not 👍

@raldred
Copy link
Author

raldred commented Aug 26, 2020

@guillaumebriday the issue was that erb errors were not bubbled up so the compile process just hung.
Does anyone know if this has been resolved upstream of 3.5.3?
It's not something I've come across recently.

@MikeRayUX
Copy link

Any solution to this that's not related to erb-loader? I'm experiencing the compiling.... issue but do not use erb-loader. I am using Docker on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants