# Error on build with web packer Rails 5.2 (packs-test not found)

**URL:** <https://discuss.circleci.com/t/error-on-build-with-web-packer-rails-5-2-packs-test-not-found/22538>\
**Category:** Build Environment\
**Tags:** 2.0, rails, circle-yml\
**Created:** [May 24, 2018, 12:09pm UTC](https://discuss.circleci.com/t/error-on-build-with-web-packer-rails-5-2-packs-test-not-found/22538 "2018-05-24T12:09:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hahmed](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/hahmed/32/18464_2.png) [@hahmed](https://discuss.circleci.com/u/hahmed)\
**Post date:** [May 24, 2018, 12:09pm UTC](https://discuss.circleci.com/t/error-on-build-with-web-packer-rails-5-2-packs-test-not-found/22538/1 "2018-05-24T12:09:50Z")

</div>

Getting an issue:

```
    Error:
ProjectsControllerTest#test_should_get_show_for_private_project:
ActionView::Template::Error: Webpacker can't find application.js in /home/ubuntu/todo_next/public/packs-test/manifest.json. Possible causes:
1. You want to set webpacker.yml value of compile to true for your environment
   unless you are using the `webpack -w` or the webpack-dev-server.
2. webpack has not yet re-run to reflect updates.
3. You have misconfigured Webpacker's config/webpacker.yml file.
4. Your webpack configuration is not creating a manifest.
Your manifest contains:
{
}

```

Here is my config file: [https://gist.github.com/hahmed/aafd37e8d92adbecc6bd6d6b766d13ea](https://gist.github.com/hahmed/aafd37e8d92adbecc6bd6d6b766d13ea)

btw - `RAILS_ENV=test bundle exec rails webpacker:compile` works on my machine.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [August 22, 2018, 12:09pm UTC](https://discuss.circleci.com/t/error-on-build-with-web-packer-rails-5-2-packs-test-not-found/22538/2 "2018-08-22T12:09:58Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
