The asset "shopify_app/request_storage_access.js" is not present in the asset pipeline

Highlighted
New Member
3 0 0

When I install a custom App on the dev store, I am getting this issue.

 

ActionView::Template::Error (The asset "shopify_app/request_storage_access.js" is not present in the asset pipeline.)

 

Also, I tried to install the App with this link but the error was the same.
http://mydomain.com/app1/login?shop=mydevstore.myshopify.com

 

I have only updated config/initializers/shopify_app.rb file since the app is running on mydomain.com/app1

( FYI, the app is running on AWS EC2 instance with Nginx + Unicorn)

 

ShopifyApp.configure do |config|
config.root_url = '/app1'
...
end
Anyone can help me to fix this issue?
0 Likes
Highlighted
New Member
3 0 0

This was my mistake. After precompiling assets, this issue is fixed. 

RAILS_ENV=production bundle exec rails assets:precompile

 

0 Likes