-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
ActionView::Template::Error: Webpacker can't find application in /app/public/packs/manifest.json when its deploy to the Gitlab #2674
Comments
@Sakshi1305 Is this error happening in your tests? If so, does precompiling assets before the tests are run help, i.e.: |
Thanks @rossta but this also gave me the same error. I already tried this. This error happens during ci/cd autodevops pipeline on GitLab |
@Sakshi1305 This error happened to me as well when trying to run request spec in gitlab ci.
|
@BlackRabbitt : Thanks, this is worked but really i faced problem in autodevops ci deployment so i want to know how webpacker worked in autodevops ci deployment or this is not supported yet. |
I run into this bug with a newly generated project on rails 6.0.3.2 upgrading all dependencies (including JS) to current. By debugging this, the problem seems to be in I've found also another issue. If you deploy through capistrano, capistrano will delete all the stuff webpack-dev-server (packs-development) and packs-test on your development machine, which breaks all assets and results in this error. Restarting webpack-dev-server in your development environment helps to fix this. |
@Sakshi1305 : did you manage to fix this issue? |
@fa11enangel also seeing this mysterious issue with the missing |
Thanks @gsar |
adding a run step resolved it for me
|
As suggested here rails/webpacker#2674
As suggested here rails/webpacker#2674
@velles where did you add this line? compile assets
|
The text was updated successfully, but these errors were encountered: